Easiest way to have a dropdown based on 2 conditions

FJPunisher

New Member
Joined
Mar 2, 2021
Messages
8
Office Version
  1. 2019
Platform
  1. Windows
Hello Experts,

I am looking for help on below, I am sure this is possible but can’t find a most efficient way to do this.
  • I will capture ID as text in a cell, this can be A_100, A_200, A_300, A_400, A_500 or A_600, (DONE)
  • Based on that ID, I am using VB to paste the days that are associated with that ID, (DONE)
  • Now based on the ID & DAY i want to show a dropdown list with up to three options. (HELP!)
In short, what is the easiest way to have dropdown list based on 2 conditions…
e.g.
IF ID = A_100 & Day = D_SUN Then Dropdown = 5.50, 6.6, 4.5
 

Attachments

  • Screenshot 2021-03-22 203210.jpg
    Screenshot 2021-03-22 203210.jpg
    41.2 KB · Views: 6
Since you don't have FILTER, you could make these three cells (all array entry: CSE):

R3:
Code:
=INDEX($K$3:$K$38,MAX(ROW($3:$38)*($P$1&$Q$1=$G$3:$G$38&$I$3:$I$38))-(ROW())-1)
R4:
Code:
=INDEX($K$3:$K$38,MAX(ROW($3:$38)*($P$1&$Q$1=$G$3:$G$38&$I$3:$I$38))-(ROW())-1)
R5:
Code:
=INDEX($K$3:$K$38,MAX(ROW($3:$38)*($P$1&$Q$1=$G$3:$G$38&$I$3:$I$38))-(ROW())-2)
and the source for data validation: =R3:R5

I think that'll work.
 
Upvote 0

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.

Forum statistics

Threads
1,223,908
Messages
6,175,305
Members
452,633
Latest member
DougMo

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