+ Reply to Thread
Results 1 to 4 of 4

Conditional Format Coloring

  1. #1
    Registered User
    Join Date
    10-01-2008
    Location
    Canada
    Posts
    19

    Conditional Format Coloring

    My problem is that I want to color cells based on value. The color is irrevelant and I want it to be random. For instance I have 1000+ unique values, and I want items with each value to have same color. I know they'll be duplicating colors, I just want unique color, and it doesn't matter what it is. I don't think you can do this with conditional formatting unless you do it manually for all 1000+ entries.

    Example:


    Order# QTY
    1 25
    1 32
    1 33
    2 21
    2 12
    3 15
    3 18
    3 19

    So I want all the #1 to have same color, all the 2 to have same color, all the 3, and so on.

    Any tips? Thx!

  2. #2
    Forum Expert
    Join Date
    08-27-2008
    Location
    England
    MS-Off Ver
    2010
    Posts
    2,561

    Re: Conditional Format Coloring

    Which version of Excel are you running?

    Depending on how many colours you have, they won't look very unique to the human eye... have you considered this?
    CC


    If you feel really indebted please consider a donation to charity. My preferred charity is ActionAid but there are plenty of worthy alternatives.

  3. #3
    Registered User
    Join Date
    10-01-2008
    Location
    Canada
    Posts
    19

    Re: Conditional Format Coloring

    Quote Originally Posted by Cheeky Charlie View Post
    Which version of Excel are you running?

    Depending on how many colours you have, they won't look very unique to the human eye... have you considered this?
    2007. I just want it to be easy on the eyes. I have to manually look at it, and if they are grouped together by color, it will make it easy to look at it. The whole purpose is just to have the same orders by same color so I can differentiate it from the next line item.

  4. #4
    Forum Expert
    Join Date
    08-27-2008
    Location
    England
    MS-Off Ver
    2010
    Posts
    2,561

    Re: Conditional Format Coloring

    OK, well we'd need to use a macro to format all those colours (which is fine), but if you only need to differentiate one row from another, you could use conditional formatting like this:
    formula is:
    =mod($A1,4)=0
    (colour 1)
    =mod($A1,4)=1
    (colour 2)
    =mod($A1,4)=2
    (colour 3)

    If this isn't enough differentiation, someone with xl07 would need to write a macro.

    I want xl07


+ Reply to Thread

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