+ Reply to Thread
Results 1 to 7 of 7

3 Color Scale Conditional Formatting for rows based on min and max FOR EACH ROW

  1. #1
    Registered User
    Join Date
    08-01-2013
    Location
    Omaha, NE
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (16.0.14228.20216) 64-bit , Version 2107
    Posts
    7

    3 Color Scale Conditional Formatting for rows based on min and max FOR EACH ROW

    Id prefer not to have to use VBA unless thats the only way.

    The problem is I have 1000 rows of data with 12 columns (months) of revenue and I want to see the trend for each row colored. Each row has varying degrees of revenue though so they should be colored unique to that row.

    Since you cant do a color scale based on values (min and max) Im not sure how to do it other than making 1000 different conditional formattings which isnt timely.

    The example below is just me doing a conditional formatting for each row. Im not using the min and max but would like to. I stopped after 5 rows because its tedious...especially when dealing with 1000 rows.
    Attached Files Attached Files
    Last edited by tonynelson33; 09-13-2021 at 11:46 AM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,777

    Re: 3 Color Scale Conditional Formatting for rows based on min and max FOR EACH ROW

    There are instructions at the top of the page explaining how to attach your sample workbook.
    Last edited by AliGW; 09-13-2021 at 11:41 AM.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    08-01-2013
    Location
    Omaha, NE
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (16.0.14228.20216) 64-bit , Version 2107
    Posts
    7

    Re: 3 Color Scale Conditional Formatting for rows based on min and max FOR EACH ROW

    I edited it.

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,777

    Re: 3 Color Scale Conditional Formatting for rows based on min and max FOR EACH ROW

    In my opinion, it's rather stupid of Microsoft to offer formulae in colour scales settings, but not allow them to use relative cell references - if they did, this would be easy.

    I suspect your only option will be VBA, but let's see what others come up with.

  5. #5
    Registered User
    Join Date
    08-01-2013
    Location
    Omaha, NE
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (16.0.14228.20216) 64-bit , Version 2107
    Posts
    7

    Re: 3 Color Scale Conditional Formatting for rows based on min and max FOR EACH ROW

    Tell me about it.

    Best solution I found was to copy 1 row of formatting and paste it for 2nd row, then copy those 2 rows and paste for 4 rows, copy 4, paste to 8, ETC ETC....goes fast enough if you dont have to do too many multiples.

  6. #6
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,552

    Re: 3 Color Scale Conditional Formatting for rows based on min and max FOR EACH ROW

    You may have gotten through by now, however I thought I would offer this anyway.
    Set up a helper range in columns R:AD and populated using: =RANK.EQ(B2,$B2:$N2,1)
    Select the range B2:N11
    Apply formulas for rules for each of the 13 possible ranks, as in =R2=1 (red), =R2=13 (green) etc.
    In the attached, six rules are applied for the 3 smallest and 3 largest values per row.
    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  7. #7
    Registered User
    Join Date
    08-01-2013
    Location
    Omaha, NE
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (16.0.14228.20216) 64-bit , Version 2107
    Posts
    7

    Re: 3 Color Scale Conditional Formatting for rows based on min and max FOR EACH ROW

    Not a great solution for a lot of columns or numbers that are close that would appear visually very different colorwise but I respect it. I can see some use cases for that. Thanks.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Color scale conditional formatting based on another cell's value
    By dtrimble in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 03-29-2024, 09:49 AM
  2. Replies: 3
    Last Post: 10-18-2020, 09:15 PM
  3. How to use Conditional formatting on individual rows? (3 color scale)
    By brada_ in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-16-2019, 06:27 PM
  4. [SOLVED] Color scale (conditional formatting) on multiple rows
    By smokieUK in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-09-2018, 04:47 AM
  5. [SOLVED] Color scale conditional formatting based on another cell's value
    By johnharrison in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-18-2016, 01:42 PM
  6. [SOLVED] Conditional Formatting like Color Scale but doing it via Interior.Color
    By Hyflex in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-04-2015, 06:36 AM
  7. Replies: 2
    Last Post: 04-15-2013, 02:05 PM

Tags for this Thread

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