Return non-blank cells based on drop-down--Excel 2010

j_harrison

New Member
Joined
Sep 16, 2013
Messages
1
High-level, I'm trying to bring in non-blank cells for a given product selected from a drop-down menu.

I have multiple "category tabs"--cakes, cookies and main dishes. I have created 2 drop-down menus: 1 for the tab name and one for the recipes within each tab.

Each tab is set-up similar to the following:
ChocolateCarrot
Flour1 3/4 Cups2 Cups
White Sugar2 Cups1 1/2 Cups
Cocoa Powder3/4 Cups
Baking Soda2 tsp2 tsp
Baking Powder1 tsp
Salt1 tsp1/4 tsp
Buttermilk1 Cup3/4 Cup
Vegetable Oil1/2 Cup3/4 Cup
Eggs23
Vanilla1 tsp2 tsp
Cinnamon2 tsp
Shredded carrots2 Cups
Coconut1 Cup flaked
Walnuts1 Cup Chopped
Pineapple (crushed)8 oz
Raisins1 Cup

<tbody>
</tbody>


What I'm hoping to do (without using VBA if possible) is bring in the ingredients in one column and the quantity in the other but only for the non-blank cells. So if cakes and carrot were selected, the output would look like this:

Flour2 Cups
White Sugar1 1/2 Cups
Baking Soda2 tsp
Salt1/4 tsp
Buttermilk3/4 Cup
Vegetable Oil3/4 Cup
Eggs3
Vanilla2 tsp
Cinnamon2 tsp
Shredded carrots2 Cups
Coconut1 Cup flaked
Walnuts1 Cup Chopped
Pineapple (crushed)8 oz
Raisins1 Cup

<tbody>
</tbody>

Sorry if I've given too much detail--this is my first post to mrexcel.com.

Thanks in advance for your help. I really appreciate it.

Jared
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.

Forum statistics

Threads
1,215,488
Messages
6,125,092
Members
449,206
Latest member
ralemanygarcia

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top