![]() |
Rounding / Cond. Format
How (in conditional formatting) can I ask excel to allow a difference of +,-
..01? For example, A1=12.21 and B1=12.22. I want B1 to turn red if it is not equal to A1, allow a .01 difference. In this case B1 will not turn red. If A1=12.21 and (B1=12.23 or B1=12.19), then the cell (B1) will turn red. |
Rounding / Cond. Format
It's 2 conditional formats in B1.
cell value - is greater than =$A$1+0.01 and the second one cell value - is less than =$A$1-0.01 and pick a nice colour. Mike "Teddy-B" wrote: How (in conditional formatting) can I ask excel to allow a difference of +,- .01? For example, A1=12.21 and B1=12.22. I want B1 to turn red if it is not equal to A1, allow a .01 difference. In this case B1 will not turn red. If A1=12.21 and (B1=12.23 or B1=12.19), then the cell (B1) will turn red. |
Rounding / Cond. Format
=ABS(ROUND(B1-A1,2))0.01
"Teddy-B" wrote: How (in conditional formatting) can I ask excel to allow a difference of +,- .01? For example, A1=12.21 and B1=12.22. I want B1 to turn red if it is not equal to A1, allow a .01 difference. In this case B1 will not turn red. If A1=12.21 and (B1=12.23 or B1=12.19), then the cell (B1) will turn red. |
Rounding / Cond. Format
Great formula - Thanks for your help!
"Teethless mama" wrote: =ABS(ROUND(B1-A1,2))0.01 "Teddy-B" wrote: How (in conditional formatting) can I ask excel to allow a difference of +,- .01? For example, A1=12.21 and B1=12.22. I want B1 to turn red if it is not equal to A1, allow a .01 difference. In this case B1 will not turn red. If A1=12.21 and (B1=12.23 or B1=12.19), then the cell (B1) will turn red. |
All times are GMT +1. The time now is 12:21 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com