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.5K Get Help
- 424 Global Discussions
- 136 Industry Talk
- 465 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 146 Just for fun
- 63 Community Job Board
- 465 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 301 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!