INDEX/MATCH to fix #NO MATCH Errors, when row does not exist
Okay, first, thanks so much for reviewing my question, and posting your potential answer. I really appreciate it! Now I am rather prod of myself, until I got stuck that I was able to create what my boss wanted. There are 2 departments that use this sheet: Transformations and Management. Now when it comes to the 1st phase, Plan / Develop - Start, this is a phase ONLY used by Transformations, not Management. On the main sheet I link to with my formula, on the management Releases, this phase does not even display. I would like help re-writing my existing formula to factor this in. Below is the formula for the QWCH Number Column. I know some type of IF statement must be done, but I am unsure, as that row does not exist on Management projects. Below is also a screenshot. And obviously this "#No Match" error goes all the way across the row,.
=INDEX({QCH Number}, MATCH([Unique ID (Helper)]@row, {Unique ID}, 0))
Sherry Fox
Business Process Analyst 3 | C5ISR Group
HII | Mission Technologies
EAP | Mobilizer | Automagician | Superstar | Community Champion
https://www.linkedin.com/in/sherryfox/
Answers
-
If you are trying to keep the error message from showing when there is no match, encase your formula in an iferror function:
=IFERROR(INDEX({QCH Number}, MATCH([Unique ID (Helper)]@row, {Unique ID}, 0)), "")
Hope this helps!
-
Can you wrap your INDEX formula in an IFERROR formula? Have you considered that? https://help.smartsheet.com/function/iferror
-
Worked like a charm! I use that function often in Excel, but with Smartsheet being so different, I often forget where the 2 are the same! Thanks so much
@GwenM ,
Thanks, worked great!
Sherry Fox
Business Process Analyst 3 | C5ISR Group
HII | Mission Technologies
EAP | Mobilizer | Automagician | Superstar | Community Champion
https://www.linkedin.com/in/sherryfox/
-
Happy to be of assistance! 😊
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.7K Get Help
- 406 Global Discussions
- 218 Industry Talk
- 457 Announcements
- 4.7K Ideas & Feature Requests
- 141 Brandfolder
- 136 Just for fun
- 57 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 297 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!