+ Reply to Thread
Results 1 to 4 of 4

Highlighting a specific amount of consecutive value

  1. #1
    Registered User
    Join Date
    09-13-2020
    Location
    Netherlands
    MS-Off Ver
    office365
    Posts
    5

    Question Highlighting a specific amount of consecutive value

    Hello all,

    I have just registered this forum for the below problem that I could not find out how to solve.

    I have uploaded my excel list and would like to explain my situation on this.
    If the amount of the cell values named with W reach the required number (as 4 in example) then the fifth cell needs to be highlighted.
    And I will enter data manually so if I write F to the highlighted cell manually when I see the highlight, the formula needs to kept and continues for the further cells and searches for the same criteria to meet in the following cells.

    Many thank you in advance.
    Attached Images Attached Images
    Attached Files Attached Files

  2. #2
    Spammer
    Join Date
    10-23-2012
    Location
    Adelaide, Australia
    MS-Off Ver
    Excel 2003, Office 365
    Posts
    1,237

    Re: Highlighting a specific amount of consecutive value

    =AND(COUNTIF($C2:C2,"W")>$B2,C2="W") in your conditional format in C2 and drag across and down.
    Last edited by Croweater; 09-14-2020 at 03:00 AM.

  3. #3
    Registered User
    Join Date
    09-13-2020
    Location
    Netherlands
    MS-Off Ver
    office365
    Posts
    5

    Re: Highlighting a specific amount of consecutive value

    Hi Croweater,

    It does not work because it counts the total number, not the consecutive.
    If the W are 3 in row, not 4, it should not be highlighted.

    At your formula, it highlights all the W s after reaching 4, does not take into account if they are consecutive or not.

    test2.jpg

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

    Re: Highlighting a specific amount of consecutive value

    As the first cell which could follow four W's would be cell G2, use the following formula as a conditional formatting rule applied to: =$G$2:$N$2
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    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.

+ 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] Highlighting consecutive duplicates
    By aimezeyp in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-14-2017, 09:17 AM
  2. Count the amount of consecutive dates
    By zuprex in forum Excel General
    Replies: 2
    Last Post: 02-09-2017, 01:39 PM
  3. Highlighting consecutive cells based on values
    By thelegazy in forum Excel General
    Replies: 2
    Last Post: 07-22-2013, 05:24 PM
  4. [SOLVED] highlighting consecutive duplicates
    By coco1985 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-10-2012, 07:24 PM
  5. Replies: 5
    Last Post: 09-30-2010, 08:02 PM
  6. Calculating the amount of consecutive values of a specific type
    By Vlad111 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-26-2008, 11:56 PM
  7. Highlighting rows with X amount of data!
    By EndZz in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-27-2007, 10:53 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