Data Validation with formula to calculate lists

brooksc29

Active Member
Joined
Jul 25, 2010
Messages
333
I am trying to use data validation in a cell that will return a list of names depending on criteria in another cell.

I'd like to say with a formula that will return a list in cell J1
If D1 says "ML", return a drop down list from the range "mlteams", if D1 says "MiL", return a drop down list from range "milteams". Seems simple enough but I'm entering the formula in the data validation cell and getting an error.

Please help!
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
Given in D1 either 'Mil" or 'Ml'.
Given two named ranges 'mlteams' and 'milteams'
Given in a cell of your choice a data validation as follows:
Allow: List
Source: =IF(D1="Ml",mlteams,milteams)
Click OK.

In said cell the data validation will display either the data of 'mlteams' or of 'milteams' based of the value found in D1.

Would that work for you?
 
Upvote 0

Forum statistics

Threads
1,214,540
Messages
6,120,106
Members
448,945
Latest member
Vmanchoppy

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