Conditional formatting

free2run

New Member
Joined
Jun 27, 2010
Messages
38
I would like to use conditional formatting in cell D18. If D18 value is >= +/-0.0050 shade the cell red
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)

jim may

Well-known Member
Joined
Jul 4, 2004
Messages
7,484
Is there a base cell(s) to apply the >= +/-0.0050 to?
 

Fazza

MrExcel MVP
Joined
May 17, 2006
Messages
9,368
try selecting cell D18 and then insert the conditional format. Maybe one of these?
Code:
=ABS(D18)>=0.005
or
=OR(D18<=-0.005,D18>=0.005)
 

free2run

New Member
Joined
Jun 27, 2010
Messages
38
this is my spreadsheet D18:d22 will need the conditional formatting applied
Excel Workbook
ABCDEFGHI
8DATE:3/7/2011mA Tolerance Specs
9CALIBRATED BY:InputMinMax
10CAL SPAN0-25.14" H2O4.003.904.10
118.007.908.10
1212.0011.9012.10
1316.0015.9016.10
14Calibration Tolerance: > = +/- 0.50%20.0019.9020.10
15
16INITIAL CHART (As Found)FINAL CHART (As Left)
17%INPUTOUTPUT mAERROR %%INPUTOUTPUT mAERROR %
1800" H2O3.900.50%00" H2O4.10-0.50%
19256.3" H2O8.10-0.50%256.3" H2O8.10-0.50%
205012.6" H2O12.09-0.45%5012.6" H2O12.10-0.50%
217518.8" H2O16.09-0.45%7518.8" H2O16.10-0.50%
2210025.1" H2O20.09-0.45%10025.1" H2O20.10-0.50%
Sheet1
Excel 2007
Cell Formulas
RangeFormula
C8=TODAY()
H10=G10-0.005*20
H11=G11-0.005*20
H12=G12-0.005*20
H13=G13-0.005*20
H14=G14-0.005*20
I10=G10+0.005*20
I11=G11+0.005*20
I12=G12+0.005*20
I13=G13+0.005*20
I14=G14+0.005*20
I18=(G10-H18)/20
I19=(G11-H19)/20
I20=(G12-H20)/20
I21=(G13-H21)/20
I22=(G14-H22)/20
D18=(G10-C18)/20
D19=(G11-C19)/20
D20=(G12-C20)/20
D21=(G13-C21)/20
D22=(G14-C22)/20
 

Fazza

MrExcel MVP
Joined
May 17, 2006
Messages
9,368

ADVERTISEMENT

Well, select range D18:D22 and then apply the conditional format to the whole range in a single operation. As a cell reference, use whatever cell is active. So, if you're on cell D18, use that in the conditional format formula: if you're on cell D22, use that: Excel will apply it to all the cells in a relative fashion. cheers
 

Forum statistics

Threads
1,141,730
Messages
5,708,147
Members
421,549
Latest member
Dtcfire

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
Top