Dependant list kind of thing

Mikiboy

New Member
Joined
Mar 13, 2013
Messages
3
Hello, I came here to ask for help about a list problem.

I made a list in a sheet which we can say is called Dashboard.

Then in another sheet which we can say is called Costs.

In Dashboard there is this

1 2 3 4 5
1 Food Costs

2 LIST

3 LIST

Imagine the LISTs are list options.

And in Income there is this

A B C
1 Food Prices Wanted?

2 Cake £3.50 No

3 Pie £1.50 Yes

4 Tart £0.50 Yes

I want the list in Dashboard to only show the options in Income that have Yes under the wanted column and not the options that have No.

Thank you in advance for any help and please explain how your thingies help please. :)
 
Last edited:

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
Welcome to MrExcel.

Please post your real data instead of pseudo data. That way you are more likely to get an immediate solution rather than a protracted solution because your problem hasn't been fully understood.
 
Upvote 0
I can't exactly do that as I don't have Excel at home and this is for a school project thing. My apologies.
 
Upvote 0
Well, try to remember what data you have and post that. And please use letters for columns and numbers for rows rather than vice versa.
 
Upvote 0
I edited the data slightly. But that's all I can really remember. Please tell me if I can add anything more to tell you.
 
Upvote 0
On sheet Income enter this formula in D2 and copy down:

=IF(COUNTIF(C$2:C2,"Yes")>=1,ROWS(D$2:D2),"")

Enter this formula in E2 and copy down:

=IF(ROWS(A$2:A2)>COUNTIF(C$2:C$4,"Yes"),"",INDEX(A$2:A$6,SMALL(D$2:D$4,ROWS(D$2:D2))))

Define the name List that refers to:

=OFFSET(Income!$E$2,0,0,COUNTA(Income!$E$2:$E$4)-COUNTBLANK(Income!$E$2:$E$4),1)

Then on sheet Dashboard use Data Validation with Allow List and Source =List.
 
Upvote 0

Forum statistics

Threads
1,223,231
Messages
6,170,884
Members
452,364
Latest member
springate

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