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

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.

Joe4

MrExcel MVP, Junior Admin
Joined
Aug 1, 2002
Messages
63,968
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,459
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")
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,168,049
Messages
5,857,035
Members
431,848
Latest member
David_8055

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