+ Reply to Thread
Results 1 to 3 of 3

count number in serial and break up serial count

  1. #1
    Forum Contributor
    Join Date
    04-19-2015
    Location
    pakistan
    MS-Off Ver
    2013
    Posts
    335

    count number in serial and break up serial count

    dear all

    PFA..i have data in column D this is in serial and break serial, i want in column L,M,N that if the serial is non breakable than first number in column L and last number in column M and total count of between numbers in column N..if there is only one number than same number in column L and M and count in column N is 1..

    Gondal
    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,212

    Re: count number in serial and break up serial count

    Used helper column


    set h2=1

    in H3 and copy down

    =IF(D3=D2+1,"",MAX($H$2:H2)+1)

    in R4

    =IFERROR(INDEX($D$2:$D$15000,MATCH(ROWS($1:1),$H$2:$H$15000,0)),"")

    in S4

    =IFERROR(INDEX($D$1:$D$15000,MATCH(ROWS($1:2),$H$2:$H$15000,0)),"")

    in T4

    =S4-R4+1


    Copy down
    Attached Files Attached Files

  3. #3
    Forum Contributor
    Join Date
    04-19-2015
    Location
    pakistan
    MS-Off Ver
    2013
    Posts
    335

    Re: count number in serial and break up serial count

    thnx John Topley..it is working .so nice

+ 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] Count how many objects are between two objects with serial numbers
    By noctornus in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 04-22-2016, 03:30 PM
  2. Count how many objects are between two objects with serial numbers
    By noctornus in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-22-2016, 12:21 PM
  3. HD Serial Number
    By arch_017 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-11-2015, 11:58 AM
  4. [SOLVED] need formula to count the serial no at end of week nos
    By breadwinner in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-10-2014, 07:43 AM
  5. count the serial no for current wk with last week need formula or vba
    By johnodys in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-09-2013, 10:40 PM
  6. [SOLVED] Help wih serial number
    By vpnvipin in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 10-29-2012, 06:17 AM
  7. Finding a serial number in a list of serial numbers
    By zocoloco in forum Excel General
    Replies: 2
    Last Post: 02-04-2009, 05:20 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