Using Complex formula in data validation List with OR in formula

oblix

Board Regular
Joined
Mar 29, 2017
Messages
183
Office Version
  1. 365
  2. 2021
  3. 2019
  4. 2016
  5. 2013
  6. 2011
  7. 2010
  8. 2007
  9. 2003 or older
Platform
  1. Windows
  2. MacOS
  3. Mobile
  4. Web
Hi there
I Have a data validation drop down list that uses this formula:
=INDIRECT(INDEX(tblNameLU[ListName],MATCH('KEY MENU'!$B1,tblNameLU[Desc],0)))

I would like to include the following:
If cell d19 = "LM" then use formula above, but If d19 = "MM" the use this formula:
=INDIRECT(INDEX(tblNameLU[ListName],MATCH('KEY MENU'!$R1,tblNameLU[Desc],0)))

Basically use column B or R based on d19 answer
Was thinking of including the OR in this formula but dont know how
PLS assist
Thank you
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
I have not actually tested this (hard to do without your file) but try this. What if D19 is neither LM nor MM?

Rich (BB code):
=INDIRECT(INDEX(tblNameLU[ListName],MATCH(IF(D19="LM",'KEY MENU'!$B1,IF(D19="MM",'KEY MENU'!$R1)),tblNameLU[Desc],0)))
 
Upvote 0
Thank you 6StringJazzer for reply
Unfortunately not working
Can I send File to you to figure out and then we post solution here afterwards?
 
Upvote 0
Thank you for assist
realized that I had to re-think the whole sheet and formulas. Used helper cells rather to make things easier
Thank you once again
 
Upvote 0
Solution
Great Thank you to 6StringJazzer for putting me on the right track with formula
 
Upvote 0
Sorry, I'm unclear here. Did you solve this, or do you still need help? I got the file but I don't know if it is before or after you added the helper cells.
 
Upvote 0

Forum statistics

Threads
1,214,652
Messages
6,120,747
Members
448,989
Latest member
mariah3

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