Range dependent on cell value

enigmaes

Board Regular
Joined
Apr 22, 2014
Messages
52
I'm missing something basic, but haven't used Excel for years. I'm weighing dependent dropdowns versus a nested "IF" statement to define what's eligible to be selected for column B range. Is there a better way?

I have a pull down option on Sheet 1 Column A.
Apples
Bananas
Oranges

On Sheet 2, I have columns of data with ranges specified by the name, and a column with quantity. So, in Apples, the range would be the 4 rows in that column, and it would be named, creatively, Apples.
Apples Banana
Ambrosia 12 Banana 15
Braeburn 3 Plantain 24
Red Delicious 25

If I pull down Apples on sheet 1, I want to be able to pull down on Sheet 1, Column B to be able to select Ambrosia, Braeburn, or Red Delicious, and then have that populate, along with the quantity from sheet 2 in Sheet 1, Column C.

Thanks in advance for help!!
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).
Got it! Used Nested "IF" statements for the data validation source, that changed to a named range, depending on what the value of the cell was in column A. I then used "VLOOKUP" to return column 2 data for a named range that overlapped. Thanks for reading!
 
Upvote 0
Solution

Forum statistics

Threads
1,224,817
Messages
6,181,144
Members
453,021
Latest member
Justyna P

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