conditional formats

FROGGER24

Well-known Member
Joined
May 22, 2004
Messages
704
Office Version
  1. 2013
  2. 2010
Platform
  1. Windows
TEST.xls
BCDE
1TANK10
2INNAGE3-6-3/442.75
3SIDE3-5-7/841.88
4REMOTE3-4-1/440.25
5TANK25
6INNAGE3-6-3/442.75
7SIDE3-5-7/841.88
8REMOTE3-4-1/440.25
Sheet1



I am trying to shade cells if in column d there is a .5 difference between the 3 cells. I would like to shade the cell that has the tank number in it (column c)
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
Try this:
Select C1
Format | Conditional Formatting
Change the drop-down from Cell Value Is to Formula Is
Paste this formula into the blank box on the right --
Code:
=OR(ABS(D2-D3)>=0.5,ABS(D2-D4)>=0.5,ABS(D3-D4)>=0.5)
Set your format (eg, Pattern could be Red)
OK

To apply down the sheet, copy C1 then select the other values in column C and paste formats

Denis
 
Upvote 0
Thanks for the response, your formula worked great.

After some thought is there away to copy the range B1:D4, and pastespecial in the next empty row (in column b) pasting the formulas if cell c4 contains somthing
 
Upvote 0
What you could do is
1. Copy C1
2. Select column C
3. Edit | GoTo | Special | Constants
4. Edit | Paste Special |Formats

Denis
 
Upvote 0

Forum statistics

Threads
1,214,400
Messages
6,119,292
Members
448,885
Latest member
LokiSonic

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