Conditional Formatting on Two Comparable Values
Hi All,
I'm very new to Smartsheets and struggling to figure the conditional formatting/formulas out.
I have two number columns 'EBT' and 'ABT'. I need to conditionally format them so if ABT is more than EBT, it flags red. If ABT is less than EBT it flags green.
Thanks! :)
Best Answer
-
You would then need a nested IF.
=IF(EBT@row> ABT@row, "Red", IF(EBT@row = ABT@row, "Blue", "Green")
You would then create the new conditional formatting rule accordingly.
Answers
-
You would need to insert a helper column (can be hidden after setting up) that uses an IF formula to output an indicator.
=IF(EBT@row> ABT@row, "Red", "Green")
Then you would set up your conditional formatting rule(s) based on this helper column.
-
Hi Paul,
That worked a treat. Thank you!
A further question, if I may...would it be possible to add a further condition to the formula, so that it has another colour (say blue) when ABT and EBT are the same value?
Many thanks,
Steph
-
You would then need a nested IF.
=IF(EBT@row> ABT@row, "Red", IF(EBT@row = ABT@row, "Blue", "Green")
You would then create the new conditional formatting rule accordingly.
-
Thanks, Paul!
Have a great day :)
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64K Get Help
- 410 Global Discussions
- 220 Industry Talk
- 458 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 137 Just for fun
- 57 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 298 Events
- 37 Webinars
- 7.3K Forum Archives