Conditional Formatting with #No Match
Hi everyone, I've been working on conditional formatting utilizing the #no match on a formula (a vlookup that doesn't have a reference so we can add). I've like to have some cells highlighted (rows 1-12) when "no match" occurs, which is a possibility on the conditional formatting options, but highlights aren't happening.
Any ideas?
Best Answer
-
The #NO MATCH value in the cells is not a text that the conditional formatter can detect. It's actually an error that Smartsheet puts in the cell. So try using an IFERROR function in your VLOOKUP formula and forcing a text "#NO MATCH" into the cell if there is no match - like this:
=IFERROR(VLOOKUP(LookupColumn@row, $LookupColumn$1:$[Value Column]$4, 2, false), "#NO MATCH")
I hope this works for you.
Cheers,
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
-
The #NO MATCH value in the cells is not a text that the conditional formatter can detect. It's actually an error that Smartsheet puts in the cell. So try using an IFERROR function in your VLOOKUP formula and forcing a text "#NO MATCH" into the cell if there is no match - like this:
=IFERROR(VLOOKUP(LookupColumn@row, $LookupColumn$1:$[Value Column]$4, 2, false), "#NO MATCH")
I hope this works for you.
Cheers,
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.
-
Thanks, Ramzi. That's exactly what I was looking for!
-
Thanks, this was just what I needed today for a quick formula fix.
-
This was so helpful!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.5K Get Help
- 402 Global Discussions
- 213 Industry Talk
- 450 Announcements
- 4.7K Ideas & Feature Requests
- 141 Brandfolder
- 135 Just for fun
- 56 Community Job Board
- 454 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 296 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!