Odd validation issue

haydonlawrence

New Member
Joined
Sep 22, 2009
Messages
1
Hi all,

I'm having an issue with context-based validation.

Basically I have a spreadsheet where I want the data validation drop-down list in column B to be based on the selected value from the drop down in column A.

So, for example, if the drop down in column A gives you the values X, Y, and Z to choose from, and you choose value X, then a different set of values should be available to be chosen from the drop-down in column B than if you had chosen value Y or value Z.

I have accomplished this using dummy-data, using an IF statement (a bit longwinded but it worked) and named ranges in the validation list settings. But for some reason, it is not working when I use the actual data (names of workstreams and their sub-workstreams) and I'm given the error "The list source must be a delimited list, or reference to single row or column".

The formula I used for the dummy data was: =IF(A1="X",XList,(IF(A1="Y",YList,(IF(A1="Z",ZList,""))))) where XList YList and ZList were the named ranges for the values applicable to values X Y and Z respectively (e.g. the lists of subworkstreams for workstreams X Y and Z respectively).

Can anyone think of any reason why this would suddenly no longer work with real (as opposed to dummy) data? I'm utterly confused.

Many thanks!
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.

Forum statistics

Threads
1,216,744
Messages
6,132,470
Members
449,729
Latest member
davelevnt

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