Need to highlight if two numbers in two different columns match
I have a number of days column called "Adjusted Duration" (it is calculated from two other columns) and then I have a helper column called "Days" that is a number that is converted from the System Duration column into a number using this formula (=Duration@row). I need to compare these two numbers (Adjusted and Days) and highlight the system Duration cell if the 2 numbers don't match.
Example:
Adjusted Duration = 3, Days = 2, Then, Highlight "Duration" cell of 2d
If Adjusted Duration = 3, Days = 3, then don't highlight.
Thanks in advance!
Best Answer
-
There isn't an option to set this up directly as conditional formatting. What you can do is add a helper checkbox column to evaluate the two columns and setup your conditional formatting to apply if that column = 1.
=IF([Adjusted Duration]@row <> [Days]@row, 1, 0)
Answers
-
There isn't an option to set this up directly as conditional formatting. What you can do is add a helper checkbox column to evaluate the two columns and setup your conditional formatting to apply if that column = 1.
=IF([Adjusted Duration]@row <> [Days]@row, 1, 0)
-
@Carson Penticuff thank you that worked perfectly!
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!