Dropdown list dependent

eduzs

Well-known Member
Joined
Jul 6, 2014
Messages
704
Office Version
  1. 2019
  2. 2010
Platform
  1. Windows
Hi all,
I need to populate a drop down list in a cell based on the value of another cell.
If type in A1 cell "Fruits", in B1 it only lists "Apples, Lemons,..." of vegetables lists.
Thanks
 

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
Thanks.
I have this formula (list / data validation formula) that works IF the 1st column "A" is sorted alphabetically, lists "B" column in order of appearance.
=OFFSET($A$1,MATCH($J4,$A:$A,0)-1,1,COUNTIF($A:$A,$J4))
I want a formula that auto sort alphabetically and that works in non continuous A$ list ("A,B,D,E,A,A,B,D,B,B").
The above formula works in a table like that:
VendorModel
A5
B2
B1
C4

<tbody>
</tbody>

Selected vendor B result 2, 1

It will return wrong result in this table:

VendorModel
A5
B2
C4
B1

<tbody>
</tbody>

Selectec vendor: B result 2, 4

It also does not sorts result alphabetically.

Thanks
 
Last edited:
Upvote 0

Forum statistics

Threads
1,217,415
Messages
6,136,506
Members
450,016
Latest member
murarj

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