Conditional formatting based on a different cell

Max Girth

New Member
Joined
Mar 2, 2004
Messages
13
I would like to apply conditional formatting to several cells depending upon the value of a single (different) cell... Is this possible without code?
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
Max Girth said:
Can you elaborate?

Why me? It's, as far as I know, not me who wants to cond format several secret cells depending upon again a secret cell while no condition specified.
 
Upvote 0
hmmm...

OK...
Make the font in A1 change to red if J1=>0
Without putting a formula in a1...
There's already one there.[/quote]
 
Upvote 0
In conditional formatting select "Formula Is" then put in the formula you want.

So in cell D7 if you wanted it to be conditionally formatted if A1 = 5 then put

"Formula Is" =if(A1=5,True,False)
 
Upvote 0
Select A1 | Format | Conditional Format

select "Formula Is"

=If(J1>=,True,False)

Then set what formatting you want.
 
Upvote 0
Max Girth said:
hmmm...

OK...
Make the font in A1 change to red if J1=>0
Without putting a formula in a1...
There's already one there.

That's better.

Activate A1.
Activate Format|Conditional Formatting.
Choose Formula Is for Condition 1.
Enter the following in the white box:

=(A1<>"")*($J$1>0)

Activate the Format button.
Select red as Color from the Font tab.
Click OK, OK.
 
Upvote 0

Forum statistics

Threads
1,214,593
Messages
6,120,435
Members
448,962
Latest member
Fenes

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