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
 

Some videos you may like

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.

erik.van.geit

MrExcel MVP
Joined
Feb 1, 2003
Messages
17,832
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
 

clayv

New Member
Joined
Sep 18, 2006
Messages
6
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?
 

erik.van.geit

MrExcel MVP
Joined
Feb 1, 2003
Messages
17,832
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
 

Watch MrExcel Video

Forum statistics

Threads
1,114,052
Messages
5,545,734
Members
410,702
Latest member
clizama18
Top