+ Reply to Thread
Results 1 to 2 of 2

Separate data by sequential order and find missing count

  1. #1
    Registered User
    Join Date
    10-12-2018
    Location
    Mumbai
    MS-Off Ver
    Office 365
    Posts
    1

    Separate data by sequential order and find missing count

    Hello,

    I need help on converting below table (by VBA code or a Formula)

    XX YY
    1000 4401
    1000 4402
    1000 4403
    1000 4404
    2000 4401
    2000 4403
    2000 4404

    Into:

    XX Starting no Ending No Count Missing count
    1000 4401 4404 3
    2000 4401 4404 3 1

    Thanks in advance for the help.

    Regards,
    Kiran.

  2. #2
    Forum Expert
    Join Date
    10-09-2014
    Location
    Newcastle, England
    MS-Off Ver
    2003 & 2013
    Posts
    1,986

    Re: Separate data by sequential order and find missing count

    The attached should do what you're after, please note the Starting and Ending values are using Array Formulas, which should be entered and then confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer.
    Attached Files Attached Files
    If someone has helped you then please add to their Reputation

+ 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] Compare two columns on separate sheet, if missing, insert missing data
    By lilvictorians in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 04-03-2019, 11:44 PM
  2. [SOLVED] Retrieve & arrange the data in sequential order
    By sateesh konduru in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 02-18-2014, 07:36 AM
  3. Replies: 4
    Last Post: 07-29-2012, 08:40 AM
  4. Replies: 2
    Last Post: 02-09-2012, 05:56 AM
  5. [SOLVED] Find missing sequential numbers
    By DTTODGG in forum Excel - New Users/Basics
    Replies: 13
    Last Post: 03-09-2006, 09:00 PM
  6. [SOLVED] Countif data is not all in sequential order
    By heater in forum Excel General
    Replies: 2
    Last Post: 07-28-2005, 02:06 PM
  7. data from one sheet to several in sequential order!
    By firecord in forum Excel - New Users/Basics
    Replies: 6
    Last Post: 06-22-2005, 12:10 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