Conditional Fromating

glometeeb

New Member
Joined
Jun 2, 2015
Messages
24
Is there a way if H is negative to highlight A:B in red

A B C D E F G H
05-5000Metal Fabrications 265 9,498 - - 265 (265) 100% 11

<tbody>
</tbody>
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.

Joe4

MrExcel MVP, Junior Admin
Joined
Aug 1, 2002
Messages
68,031
Office Version
  1. 365
Platform
  1. Windows
Sure.

For row 1, just highlight cells A1 and B1 and use this Conditional Formatting formula:
=$H1<0

If you have more than one row, just highlight columns A and B for all the rows, and write the the formula above for the first row, changing the row number (but leaving the dollar sign where it is).
 
Upvote 0

JoeMo

MrExcel MVP
Joined
May 26, 2009
Messages
18,144
Office Version
  1. 365
  2. 2010
Platform
  1. Windows
Select all the cells in cols A & B you want to conditionally format (I'll assume here you'll start with A1), then
Home>Conditional Formatting > New Rule > Use a formula
formula is: =$H1<0
Select the format you want and click OK.
 
Upvote 0

Forum statistics

Threads
1,195,593
Messages
6,010,624
Members
441,558
Latest member
lambierules

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