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
Original Smartsheet Profile: @Sherry Fox
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
Original Smartsheet Profile: @Sherry Fox
-
Happy to be of assistance! 😊
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.3K Get Help
- 423 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 144 Just for fun
- 59 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 300 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!