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
- Smartsheet Customer Resources
- 64.2K Get Help
- 419 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 142 Just for fun
- 58 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 299 Events
- 38 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!