+ Reply to Thread
Results 1 to 4 of 4

Alternate colors based on value

  1. #1
    Forum Contributor
    Join Date
    12-14-2012
    Location
    Davenport, Iowa
    MS-Off Ver
    Excel 365
    Posts
    206

    Alternate colors based on value

    Hi, I am looking for a macro that will go through column B (States) and when the state changes from one to another I would like to highlight the range - basically color coding when the list changes from one state to the next. Please see the example attached...
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    12-10-2006
    Location
    Sydney
    MS-Off Ver
    Office 365
    Posts
    3,523

    Re: Alternate colors based on value

    Hi sriley5,

    Run this while on the sheet you want the colour coding to be applied:

    Please Login or Register  to view this content.
    Regards,

    Robert
    ____________________________________________
    Please ensure you mark your thread as Solved once it is. Click here to see how
    If this post helps, please don't forget to say thanks by clicking the star icon in the bottom left-hand corner of my post

  3. #3
    Forum Contributor
    Join Date
    12-14-2012
    Location
    Davenport, Iowa
    MS-Off Ver
    Excel 365
    Posts
    206

    Re: Alternate colors based on value

    Worked like a charm, quick and simple, I appreciate it!

  4. #4
    Forum Expert
    Join Date
    12-10-2006
    Location
    Sydney
    MS-Off Ver
    Office 365
    Posts
    3,523

    Re: Alternate colors based on value

    You're welcome. Thanks for marking the thread as solved and for the rep

+ 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] Keep alternate colors on rows even while filtering data
    By Zenarte in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-08-2019, 10:04 AM
  2. Alternate colors in data table
    By biznez in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 06-03-2017, 02:56 AM
  3. Conditional Formatting - Alternate Row Colors
    By socal.s in forum Excel General
    Replies: 4
    Last Post: 12-08-2010, 12:57 PM
  4. Alternate row colors
    By speakers_86 in forum Excel General
    Replies: 2
    Last Post: 06-25-2007, 12:37 AM
  5. Alternate Background-colors
    By sissi in forum Excel General
    Replies: 1
    Last Post: 08-21-2006, 11:16 AM
  6. Replies: 2
    Last Post: 02-07-2006, 04:10 PM
  7. Alternate Colors
    By Mark G. in forum Excel General
    Replies: 2
    Last Post: 12-11-2005, 08:10 AM

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