How to combine IF/AND with INDEX & Match???
I'm looking to combine IF AND with index and match. I've gotten this far and I'm stuck. I'm trying to INDEX and MATCH data from 2 reference sheets and combine it with IF AND.
=IF(AND(INDEX({3.0 IRS - Panera Column}, MATCH([23 Itinerary]@row, {3.0 IRS - Itinerary Range}, 0)) = 1, (INDEX({MLRS - Pre-Departure Email Col}, MATCH([23 Meeting Location]@row, {3.0 MLR - Meeting Location Col})) = 0), "ORDER", "NONE"))
Best Answer
-
You have some parenthesis floating around that can be removed.
=IF(AND(INDEX({3.0 IRS - Panera Column}, MATCH([23 Itinerary]@row, {3.0 IRS - Itinerary Range}, 0)) = 1, INDEX({MLRS - Pre-Departure Email Col}, MATCH([23 Meeting Location]@row, {3.0 MLR - Meeting Location Col})) = 0), "ORDER", "NONE")
Answers
-
You have some parenthesis floating around that can be removed.
=IF(AND(INDEX({3.0 IRS - Panera Column}, MATCH([23 Itinerary]@row, {3.0 IRS - Itinerary Range}, 0)) = 1, INDEX({MLRS - Pre-Departure Email Col}, MATCH([23 Meeting Location]@row, {3.0 MLR - Meeting Location Col})) = 0), "ORDER", "NONE")
-
Paul - Thanks. I appreciate the help, and that solved the problem!
-
Happy to help. 👍️
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 439 Global Discussions
- 138 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 67 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!