# Conditional formatting

#### FROGGER24

##### Well-known Member
I would like to use conditional formatting in cell D18. If D18 value is >= +/-0.0050 shade the cell red

### Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
Is there a base cell(s) to apply the >= +/-0.0050 to?

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)``````

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

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

Thanks for yuor help, I was alble to get your formula to work.

Good work. Have fun. regards

Replies
3
Views
562
Replies
2
Views
523
Replies
6
Views
512
Replies
6
Views
380
Replies
9
Views
323

1,218,752
Messages
6,144,285
Members
450,535
Latest member
Erlull

### 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.

### Which adblocker are you using?

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

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