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
- Customer Resources
- 64.5K Get Help
- 427 Global Discussions
- 136 Industry Talk
- 465 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 146 Just for fun
- 63 Community Job Board
- 466 Show & Tell
- 32 Member Spotlight
- 2 SmartStories
- 301 Events
- 39 Webinars
- 7.3K Forum Archives