Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Excel 2007 has added support for cell styles, which I find very useful. I love it when I can change formatting in one place and the change propagates throughout the spreadsheet.

I also love conditional formatting.

Can the two be combined? Can I conditionally apply a cell style?

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

You can't conditionally apply a style, but you can conditionally remove it. If you format the cell with the style that you ultimately want, then depending on the situation, you can then clear that style with the conditional formatting.

share|improve this answer
    
Good idea, might work in some cases. This time I was hoping to apply different styles depending on a formula though. –  romkyns Mar 17 '10 at 12:42
    
You could probably do it with VBA, but it would be messy and slow. –  guitarthrower Mar 17 '10 at 15:53
    
Accepted for "You can't conditionally apply a style". –  romkyns Jan 7 '11 at 12:20
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.