A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Hello,
I have a table that I set up that I want to highlight the 2 values when another field that is calculated is closest to zero. I have the table set up as follows:
Number Calc 1 Calc 2 Calc 3 Difference of Calc 1 - Calc 3 100000 $5 $5.50 $31.00 ($31.00) 150000 $8.22 $5.45 $36.45 ($28.23)
From the table, I would like to highlight the two cells in the number column when the corresponding field in difference is closest to zero, positive or negative.
I hope this makes sense. Any insight would help.
Thanks!
Try this...
Assuming your data is in the range A2:E10.
Select the range A2:A10
Conditional Formatting
Use the "formula option"
Use this formula:
=ABS(E2)<=SMALL(ABS(E$2:E$10)-0,2)