Results 1 to 20 of 20

Complex Conditional Formatting

Threaded View

satchmo Complex Conditional Formatting 10-31-2007, 01:23 PM
shg What hapens if the value is... 10-31-2007, 01:33 PM
satchmo I should be able sort the... 10-31-2007, 02:16 PM
satchmo I don't understand what you... 10-31-2007, 02:17 PM
Ron Coderre Complex Conditional Formatting 10-31-2007, 02:43 PM
satchmo I just attempted to expand... 10-31-2007, 08:21 PM
satchmo Envisiging that this is... 10-31-2007, 08:30 PM
Ron Coderre Complex Conditional Formatting 11-01-2007, 08:19 AM
  1. #1
    Registered User
    Join Date
    10-31-2007
    Posts
    11

    Complex Conditional Formatting

    I have colour code combinations which relate to numbers e.g.

    0.5 = Red, Red
    0.9 = Yellow, Black
    1.7 = Brown, Black
    2.25 = Orange, Black
    3.5 = Green, Black
    4.5 = Grey, Grey
    6 = Red, Black
    etc.....

    There are approx 50 numbers each with a unique two colour combination from 10 colours available.

    Assume that in cell A1 of the Excel spreadsheet I want to type in any one of the 50 different numbers. I need this then to conditionally format cell B1 pattern to the first colour, and cell C1 to the second colour. i.e.

    Cell A1 = 0.9
    Cell B1 to have Yellow background (no text in cell required)
    Cell C1 to have Black background (no text in cell required)

    In reality this will be repeated in rows 2, 3, 4, 5, etc. with different numbers.

    The simple solution would be conditional formatting, however this only allows a maximum of 3 conditions as opposed to 50.

    I also tried using vlookup to a table of the combinations in a separate sheet. This would return colour names ok but wouldn't copy formats. If there is a way of getting vlookup to return formats as well as cell contents, that would be great.

    I don't mind having to run a macro to format the cells (my attempts at this have failed), but use of a function in the cell which could do the same task automatically would be even better.

    Any ideas/solutions would be greatly appreciated!
    Last edited by satchmo; 10-31-2007 at 01:26 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1