Forum Discussion
MicLima
Apr 06, 2020Copper Contributor
Conditional formatting using tolerances
Hi,
How would I write the formula to format the below cells if they are out of tolerance? Thanks in advance!
E | F | G | H | I | J | K | L | M | |
13 | Nominal Value | Tolerance (+) | Tolerance (-) | C1 1 | C2 2 | C3 3 | D1 4 | D2 5 | D3 6 |
14 | 6 | 0.5 | 0 | 6.063 | 6.119 | 6.096 | 6.095 | 6.072 | 6.073 |
15 | 8 | 0 | -0.01 | 8.004 | 8.002 | 8.005 | 8.004 | 8.002 | 8.002 |
MicLima Yes, this would work with the rule I wrote as-is. The only difference is that I assumed that your negative tolerances would be expressed as positive numbers (your original example had a 0 negative tolerance so I couldn't tell either way). Fixing for the correct sign:
=OR(D3-$A2>$B2, D3-$A2<$C3)
7 Replies
Sort By
- SaviaSteel Contributor
MicLima Yes, this would work with the rule I wrote as-is. The only difference is that I assumed that your negative tolerances would be expressed as positive numbers (your original example had a 0 negative tolerance so I couldn't tell either way). Fixing for the correct sign:
=OR(D3-$A2>$B2, D3-$A2<$C3)