+ Reply to Thread
Results 1 to 5 of 5

Shading Band row based on change of value

  1. #1
    Registered User
    Join Date
    05-07-2011
    Location
    Jakarta, Indonesia
    MS-Off Ver
    Office 365
    Posts
    14

    Shading Band row based on change of value

    Hi,

    I would like to achieve this without a helper column. Is that possible?


    ve7L9.png


    Thank you
    Henry

  2. #2
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,465

    Re: Shading Band row based on change of value

    Please try Conditional Format rule: =MOD($A2,2)=1 applies to $A$2:$B$8

  3. #3
    Registered User
    Join Date
    05-07-2011
    Location
    Jakarta, Indonesia
    MS-Off Ver
    Office 365
    Posts
    14

    Re: Shading Band row based on change of value

    Hi Hans,

    The solution is applicable when column A is number. What if it is text value?
    WhatsApp Image 2023-10-28 at 11.12.08_eeea5086.jpg

    Sorry for not making it clearer.
    Last edited by gnulab; 10-28-2023 at 12:14 AM. Reason: Add Image

  4. #4
    Valued Forum Contributor
    Join Date
    03-24-2020
    Location
    Thailand
    MS-Off Ver
    Office 2016
    Posts
    897

    Re: Shading Band row based on change of value

    You could use a 'helper' column (which you can hide).
    In cell "C1" enter 0 (zero)
    In cell "C2" enter:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    and pull down.

    You now can use the conditional formatting rule from HandDouwe on the 'helper' column: =MOD($C1,2)=1 applies to $A$2:$C$20
    Last edited by ORoos; 10-28-2023 at 12:46 AM.
    If your Question is answered; please mark it SOLVED. If you are happy with a member's solution, say 'Thanks' and click the 'Star' to Add Reputation.

  5. #5
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,465

    Re: Shading Band row based on change of value

    Please try Conditional Format rule: =MOD(ROWS(UNIQUE(A$2:A2)),2)=1 applies to $A$2:$B$10
    Last edited by HansDouwe; 10-28-2023 at 12:45 AM.

+ 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. Hourly Rate Calcuation Based off of Years of Experience and Pay Band Length
    By wherdzik in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-27-2022, 11:00 AM
  2. Top Percentages Based on Score Band
    By excel_noob_13 in forum Excel General
    Replies: 2
    Last Post: 10-06-2020, 04:49 PM
  3. [SOLVED] Table Shading Won't change
    By jomili in forum Excel General
    Replies: 5
    Last Post: 10-04-2016, 12:23 PM
  4. [SOLVED] Calculate UK school year band based on student d.o.b
    By M4rk in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-20-2015, 09:07 AM
  5. [SOLVED] Conditional Cell Shading (based on the shading of other cells)
    By Tubby in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-20-2006, 05:10 PM
  6. [SOLVED] How do I make an IF statement change cell shading
    By Binglesworth in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-29-2006, 03:10 PM
  7. conditional cell shading when a change occurs
    By zooeyhall in forum Excel General
    Replies: 1
    Last Post: 06-06-2005, 01: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