Shade by default and then clear upon action of adjacent cell

TPD

Board Regular
Joined
Dec 10, 2003
Messages
54
Hello,..Finally the last part of my dilemma...You guys have pulled a newbie like myself through the darkest of times here!

I have 4 adjacent cells:
C40, E40, J40 and L40

I want E40, J40 and L40 to remain shaded when empty but become white or non-shaded if the text in C40 becomes BOLD. (it could become BOLD based on it's reaction to a linked cell)

Is this possible?

td
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
hi, again,

there are different options ...
what formula is there which links C40 to the "linked cell" ?
it could become BOLD based on it's reaction to a linked cell

kind regards,
Erik
 
Upvote 0
It is possible, but not the way you're trying. You can't use conditional formating based upon another cell's format. But you can do it based on a formula. Use the a variation of the formula in C40 to determine the format.

Can you post the formula from C40?
 
Upvote 0
It is possible, but not the way you're trying. You can't use conditional formating based upon another cell's format. But you can do it based on a formula. Use the a variation of the formula in C40 to determine the format.

Can you post the formula from C40?
Hi, clayv
Welcome to the Board !!!!

In fact you can "use conditional formating based upon another cell's format":
write some values and color some cells in column A (new sheet) and run this macro (it's quicker than explaining)
Code:
Sub trythis()
ThisWorkbook.Names.Add Name:="Color", RefersToR1C1:="=GET.CELL(63,!RC[-1])"
    With Worksheets(1)
        With .Range(.Cells(1, 2), .Cells(.Rows.Count, 1).End(xlUp)(1, 2))
        .Formula = "=Color + A1*0"
        End With
    End With
End Sub
check your names (menu insert/name/define)

but you can't "use conditional formating based upon another cell's CONDITIONAL format"
you need to check the formula or use VBA

best regards,
Erik

EDIT: forgot the macro, here it is
 
Upvote 0

Forum statistics

Threads
1,214,646
Messages
6,120,717
Members
448,985
Latest member
chocbudda

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