Help support TMP


"Excel Conditional formatting simplification" Topic


3 Posts

All members in good standing are free to post here. Opinions expressed here are solely those of the posters, and have not been cleared with nor are they endorsed by The Miniatures Page.

Please remember not to make new product announcements on the forum. Our advertisers pay for the privilege of making such announcements.

For more information, see the TMP FAQ.


Back to the Computer Stuff Plus Board


Areas of Interest

General

Featured Hobby News Article


Featured Link


Featured Workbench Article

Painting Lions

Continuing our 'animals' theme, Stronty Girl Fezian tackles a pair of lionesses.


Featured Profile Article

Cobblestone Corners Christmas Trees

Christmas trees for your gaming table.


Current Poll


894 hits since 21 Aug 2018
©1994-2025 Bill Armintrout
Comments or corrections?

Last Hussar21 Aug 2018 11:46 a.m. PST

Is there a way to simplify the number of conditional formatting conditions

So the spreadsheet C/F says
If Cell = "Dept 1" then [Format background Red]
If Cell = "Dept 2" then [Format background Blue]
If Cell = "Dept 3" then [Format background Green]

I am going to rewrite to
If Cell = A1 then [Format background Red]
If Cell = A2 then [Format background Blue]
If Cell = A3 then [Format background Green]

Can I use some sort of lookup for this

"Find the info associated with vale in cell, and format to that"

If it was in the sheet itself I could just do a Vlookup (Find value, and use column x across).

How do I do that in Conditional formatting?

jdpintex21 Aug 2018 12:39 p.m. PST

Here's what I do:

Set up drop down list using Data Validation, then use conditional formatting. Very easy if you only have a handful of items on your dropdown, which I assume you do as there are only so many color combination.

I also had a blank row at the bottom so I can copy all the formatting into the spreadsheet at a later time if needed.

Last Hussar21 Aug 2018 5:56 p.m. PST

Using Data Validation already, with options in a separate sheet for ease of editing.

What I am after is instead of having one condition per option on the list, it finds the colour/format associated with that option.

Sorry - only verified members can post on the forums.