Highlight when Formula is out of range

N_Somniac

New Member
Joined
Mar 16, 2007
Messages
1
First off, I did search this and came up with nothing so I hope this hasn't been posted b4.

I'm calibrating gauges and making a log of them, and what I need to do is when a gauge is out of tolerance I need it to be highlighted

example say I have an applied pressure in A1, the indicated pressure in B1 and the Difference between the two in C1. I already have the simple formula =B1-A1 in C1... but I need it to automatically highlight in red if the answer is out of tolerance, notated lets say in D1 (+ or - ). so if A was 1 B was 2 making C 1 and the tolerance was .5 i need that answer to highlight.
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
Select the range to be highlighted (e.g. C2:C100)

Go to Format|Conditional Formatting.

Select Formula Is from 1st drop down and enter formula: =ABS(C2)>D2 (where C2 is first value to check and D2 contains tolerance).

Click Format and go to Pattern Tab to select colour.

Click Ok

Click Ok.
 
Upvote 0

Forum statistics

Threads
1,214,522
Messages
6,120,022
Members
448,939
Latest member
Leon Leenders

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top