+ Reply to Thread
Results 1 to 5 of 5

Continue number sequence

  1. #1
    Registered User
    Join Date
    06-16-2018
    Location
    Manchester, England
    MS-Off Ver
    2016
    Posts
    138

    Continue number sequence

    Can someone help with this?

    I have attached a book in case I haven't explained well enough.

    I want to continue the number sequence in column A so that it matches the results in column D.

    In range A1:A8 are the numbers 1 to 8, then there are 4 blanks and then 1 in A13.
    I have thousands of rows of blanks to do manually so was hoping for some formula that I could drag down in column B.
    The numbers are always consecutive and all the blanks are above he value of 1.

    Thanks
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,363

    Re: Continue number sequence

    If I understand correctly .....

    ry

    in B1

    =IF(MATCH(1,D2:$D$10000,0)<5,"",D1)

    drag down
    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

  3. #3
    Registered User
    Join Date
    06-16-2018
    Location
    Manchester, England
    MS-Off Ver
    2016
    Posts
    138

    Re: Continue number sequence

    Thanks for your reply JT.

    I see your formula refers to column D.
    Column D in the attached book just gives an example of what I want to see in column B.

  4. #4
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,363

    Re: Continue number sequence

    B1=1

    in B2

    IF(MATCH(1,$A2:$A$1000,0)=1,$A2,IF(MATCH(1,$A2:$A$1000,0)<=5,$B1+1,$A2))

    copy down
    Last edited by JohnTopley; 11-04-2021 at 12:24 PM.

  5. #5
    Registered User
    Join Date
    06-16-2018
    Location
    Manchester, England
    MS-Off Ver
    2016
    Posts
    138

    Re: Continue number sequence

    Magic.
    Thanks

+ 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. only continue if number matches
    By GeekBlueNose in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-02-2021, 06:15 PM
  2. Replies: 7
    Last Post: 06-08-2015, 08:39 AM
  3. [SOLVED] Drag Formula's to continue a sequence
    By Sky188 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-08-2012, 03:24 PM
  4. Replies: 5
    Last Post: 11-22-2010, 06:31 PM
  5. Use the Drag Down to continue a sequence?
    By batchy in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-09-2008, 05:56 AM
  6. [SOLVED] Strikethrough numbers and continue sequence
    By Piolina1313 in forum Excel General
    Replies: 0
    Last Post: 08-03-2005, 04:05 PM
  7. [SOLVED] Using Autofill to continue a sequence
    By DannyJ in forum Excel General
    Replies: 3
    Last Post: 05-30-2005, 06:05 PM

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