Conditional Format Question

jtalbour

New Member
Joined
Aug 10, 2006
Messages
22
Conditional Format Question

From the example below I would like Cell C2 to highlight

when data in A2 is greater than 0 and the word DISC is in C2
Book1
ABCD
1OnHandBilling
28DISC
30DISC
420ACTI
Sheet3
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.

Joe4

MrExcel MVP, Junior Admin
Joined
Aug 1, 2002
Messages
57,664
Office Version
  1. 365
Platform
  1. Windows
Select the "Formula Is" option in conditional formatting, and enter the formula:

=AND(A2>0,B2="DISC")

(I am assuming you meant to say "DISC" in B2, not C2).
 

jtalbour

New Member
Joined
Aug 10, 2006
Messages
22
THank you for the help

How many conditions can be included in the AND statement?
In a conditional Formula
 

Brian from Maui

MrExcel MVP
Joined
Feb 16, 2002
Messages
8,458
THank you for the help

How many conditions can be included in the AND statement?
In a conditional Formula

I think it's 30, although I could be wrong. In CF you could simply use,

=(A2 > 0)*(B2="Disc")
 

Watch MrExcel Video

Forum statistics

Threads
1,133,454
Messages
5,658,868
Members
418,475
Latest member
ExcelBeginner233

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