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 use the Complaint button (!) to report problems on the forums.

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 Showcase Article

The QuarterMaster Table Top

Need 16 square feet of gaming space, built to order?


Featured Profile Article

Editor Katie's House That TMP Built

With help from TMP, our staff editor and her grandparents now have a place to live.


786 hits since 21 Aug 2018
©1994-2024 Bill Armintrout
Comments or corrections?


TMP logo

Membership

Please sign in to your membership account, or, if you are not yet a member, please sign up for your free membership account.
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.