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
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 472 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!