+ Reply to Thread
Results 1 to 5 of 5

Restarting a count

  1. #1
    Forum Contributor
    Join Date
    03-05-2013
    Location
    Sydney
    MS-Off Ver
    Excel 2010
    Posts
    301

    Restarting a count

    Hi all excel buffs.

    I have a row of data that has been calculated to produce the following series of numbers.

    6,5,4,3,2,1,6,5,4,3,2,1 (That is: [6 to 1], [6 to 1])

    This dataset has been corrected to produce the following series

    2,1,4,3,2,1,6,5,4,3,2,1 (that is: [2,1] then [4-1] then [6 to 1])

    In this problem, the method for calculating the dataset doesn't restart from 6. It assumes that 2,1,4,3,2,1 has produced the required 6 count.

    What I need is for a method or function to restart the number sequence from 6 following the correction,

    That is [2 to 1], [6 to 1]...etc)


    Cheers for any help.

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,454

    Re: Restarting a count

    In cell A2:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    and drag across.


    If you start with 2 in cell A1, you get your sequence.

    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Contributor
    Join Date
    03-05-2013
    Location
    Sydney
    MS-Off Ver
    Excel 2010
    Posts
    301

    Re: Restarting a count

    Thanks for your response. Unfortunately this did not work. The result was:

    Expected: 6,6,5,4,3,2,1...etc

    Result: 1,6,3,2,1,6,5,4,3,2,1...etc

    I'm filling down also, but the principle is the same.

    Thanks for your help.

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,454

    Re: Restarting a count

    Unfortunately this did not work.
    Then you have made a mistake. The formula does exactly as you asked ... both across and down.

    Regards, TMS
    Attached Files Attached Files

  5. #5
    Forum Contributor
    Join Date
    03-05-2013
    Location
    Sydney
    MS-Off Ver
    Excel 2010
    Posts
    301

    Re: Restarting a count

    Thanks for your example and continued assistance. I created a basic sheet (Sheet2) to show the problem.

    Reset Counter TMS.xlsx

    Cheers

+ 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] Need VB Routine To Search Top to Bottom Without Restarting at Top
    By geshorse in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 11-30-2012, 12:01 AM
  2. Restarting a private sub
    By Josiah in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-26-2012, 09:13 AM
  3. Restarting from initial value in a loop
    By ZEvans12 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-22-2011, 09:59 AM
  4. [SOLVED] Restarting a macro
    By BR in forum Excel Formulas & Functions
    Replies: 19
    Last Post: 12-23-2005, 06:00 PM
  5. Restarting Circular Calculations
    By pocarroll in forum Excel General
    Replies: 0
    Last Post: 01-14-2005, 06:32 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