IKEA sells little spice racks for just around $4.00.
I bought three of them and spray painted them white to match our cabinets. Then my husband, who is quite handy, measured, calculated, and hung them on the end of the cabinet.
This is the way the cabinet looked before we hung the shelves. It was just a blank bit of wasted real estate.