IF then INDEX, Match help
I'm having trouble apply my index formula to pull from multiple sheets depending on one criteria (client). I have three client data sheets, WHI, BCN and WHB and I want to pull the same Check% from each sheet depending on the the client. I was original thinking I need an IF WHI client, then INDEX formula. I basically need to combine these formulas so they can be populated based on client.
Current formulas:
=INDEX({WHI - Check%}, MATCH([Project Name]@row, {WHI - Project ID}, 0))
=INDEX({BCN - Check%}, MATCH([Project Name]@row, {BCN - Project ID}, 0))
=INDEX({WHB - Check%}, MATCH([Project Name]@row, {WHB - Project ID}, 0))
Best Answer
-
Assuming your client name is in a column called Client, your formula would look something like this:
=IF(Client@row = "WHI", INDEX({WHI - Check%}, MATCH([Project Name]@row, {WHI - Project ID}, 0)), IF(Client@row = "BCN", INDEX({BCN - Check%}, MATCH([Project Name]@row, {BCN - Project ID}, 0)), INDEX({WHB - Check%}, MATCH([Project Name]@row, {WHB - Project ID}, 0)))
Hope that works for you.
Ramzi
Ramzi Khuri - Principal Consultant @ Cedar Tree Consulting (www.cedartreeconsulting.com)
Feel free to email me: ramzi@cedartreeconsulting.com
💡 If this post helped you out, please help the Community by marking it as the accepted answer/helpful.
Answers
-
Assuming your client name is in a column called Client, your formula would look something like this:
=IF(Client@row = "WHI", INDEX({WHI - Check%}, MATCH([Project Name]@row, {WHI - Project ID}, 0)), IF(Client@row = "BCN", INDEX({BCN - Check%}, MATCH([Project Name]@row, {BCN - Project ID}, 0)), INDEX({WHB - Check%}, MATCH([Project Name]@row, {WHB - Project ID}, 0)))
Hope that works for you.
Ramzi
Ramzi Khuri - Principal Consultant @ Cedar Tree Consulting (www.cedartreeconsulting.com)
Feel free to email me: ramzi@cedartreeconsulting.com
💡 If this post helped you out, please help the Community by marking it as the accepted answer/helpful.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 497 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!