Conditiional drop-down (based on > than value)

skydivetom

New Member
Joined
Oct 26, 2017
Messages
5
Experts:

I need your help with creating a conditional name range. Here's what I have thus far.

Cells A1:A10 are saved as name range "Customers". I then use that name range ("Customer") as a drop-menu in another cell.

Some of the 10 customers (naturally, I have more in reality), however, had not made a purchase yet. That is, customer in A3 or A6 or A10 have placed 0 orders. Therefore, I want my drop-down menu to only include the other 7 customers (A1, A2, A4, A5, A7, A8, A9). Once, any (or all) of the other three customers placed an order, I want the drop-down menu to reflect that change and show up to 10 customers.

My question: How can I create this dynamic name range (drop-down menu) where I only include customers where value in B1:B10 is greater than 0?

Thank you,
EEH
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
Hi,

See if this helps. Yellow cells is your basic input, blue is a helper column, purple is the list to be used in the drop-down list.


Book1
ABCD
1CustomerlistOrdersHelpUse in Drop Down
2Customer 1902Customer 1
3Customer 2123Customer 2
4Customer 30Customer 4
5Customer 4235Customer 5
6Customer 5756Customer 7
7Customer 60Customer 8
8Customer 7878Customer 9
9Customer 8539
10Customer 92410
11Customer 100
Lists
Cell Formulas
RangeFormula
C2=IF(B2=0,"",ROW())
D2=IF(ROW(A2)-ROW(A$2)+1>COUNT(C$2:C$11),"",INDEX(A:A,SMALL(C$2:C$11,1+ROW(A2)-ROW(A$2))))


Of course formula's to be copied down to your need.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,889
Messages
6,175,226
Members
452,620
Latest member
dsubash

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