+ Reply to Thread
Results 1 to 3 of 3

Counting Consecutive Numbers

  1. #1
    Registered User
    Join Date
    07-30-2014
    Location
    Columbus
    MS-Off Ver
    2013
    Posts
    64

    Counting Consecutive Numbers

    Good Morning,

    How can I create a lookup to count consecutive numbers > 100%.

    I have a sheet with columns of percentages for sales reps and would like to count consecutive quarters that they are over 100%.

    Sales 1 109.4% 99.2% 96.3% 101.4% 90.2%
    Sales 2 82.3% 78.0% 78.4% 83.3% 84.0%
    Sales 3 98.2% 89.0% 98.8% 87.7% 83.0%
    Sales 4 96.5% 91.5% 102.1% 96.8% 107.2%
    Sales 5 108.7% 109.0% 97.6% 112.1% 102.3%
    Sales 6 109.2% 116.1% 119.6% 114.8% 100.0%
    Sales 7 100.4% 114.7% 107.9% 107.7% 93.1%

    Assuming all information is in one sheet and there are 5 columns of figures. Thanks for the help.

  2. #2
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2404
    Posts
    13,407

    Re: Counting Consecutive Numbers

    This is in I2:M8 of the attached.
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Then in H2:H8
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Does this do what you want?
    Attached Files Attached Files
    Dave

  3. #3
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Counting Consecutive Numbers

    With your % values in b2:f8 enter this formula in H2 and fill across to L2 and fill down. This formula will enter a 1 for each value in the row B2:F2 and if the previous value is 1 will add 1 but if the previous value was 0 then the value will be 1 if the corresponding value in B2:F2 is greater than 0.
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Enter this in M2 and fill down to give the number of consecutive values >100%
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

+ 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. Counting consecutive numbers in excel
    By kurtvon in forum Excel General
    Replies: 3
    Last Post: 05-02-2016, 03:38 PM
  2. Replies: 1
    Last Post: 04-14-2015, 08:34 PM
  3. Counting consecutive repeated numbers greater than or less than.
    By fatterthanelvis in forum Outlook Formatting & Functions
    Replies: 5
    Last Post: 12-16-2014, 11:09 PM
  4. re: counting consecutive numbers
    By bismo in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 09-10-2013, 04:55 PM
  5. Replies: 6
    Last Post: 11-13-2012, 07:33 AM
  6. Replies: 5
    Last Post: 07-26-2012, 08:46 PM
  7. counting only consecutive numbers over 11
    By sgk18 in forum Excel General
    Replies: 5
    Last Post: 01-30-2012, 05:16 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