+ Reply to Thread
Results 1 to 8 of 8

Concatenate the first and last Number that are in a sequence in a column

  1. #1
    Registered User
    Join Date
    01-11-2019
    Location
    India
    MS-Off Ver
    2016
    Posts
    38

    Concatenate the first and last Number that are in a sequence in a column

    Hi,

    I have a list of around 900+ numbers in column A.
    I have to concatenate the first and last numbers that are in a sequence and bring the result in column B.
    Is there any formula which could auto calculate the sequence and concatenate when the sequence ends?

    I have attached a sample workbook with expected result.
    It would be a great help if someone could solve it!


    Kinjal
    Attached Files Attached Files

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,728

    Re: Concatenate the first and last Number that are in a sequence in a column

    Administrative Note:

    Is your forum profile showing the version of Excel that you need this to work for?

    Members will tailor the solutions they offer to the version of Office (Excel, NOT Windows) that you have. Please check that your forum profile is up-to-date in this respect. If you aren't sure, in Excel go to File | Account and report what it says below the MS logo at the top of that page. If your version is for Mac, please also state this.

    The three most recent versions of Excel are Excel 2019, Excel 2021 and MS365 - if you are using MS365, please give this name along with the release number in your profile (e.g. MS365 Version 2211). This is in the About Excel section further down the Account page.

    Thanks.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Expert
    Join Date
    04-14-2009
    Location
    Taiwan
    MS-Off Ver
    Excel 2016,2019,O365
    Posts
    2,003

    Re: Concatenate the first and last Number that are in a sequence in a column

    C5
    Please Login or Register  to view this content.
    committed with Ctrl+Shfit+Enter, copied down.
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    01-11-2019
    Location
    India
    MS-Off Ver
    2016
    Posts
    38

    Re: Concatenate the first and last Number that are in a sequence in a column

    Hi Ali,

    My Excel version is Microsoft Excel 2016 and it's not for Mac

  5. #5
    Registered User
    Join Date
    01-11-2019
    Location
    India
    MS-Off Ver
    2016
    Posts
    38

    Re: Concatenate the first and last Number that are in a sequence in a column

    This is perfect!... Thanks a lot

  6. #6
    Forum Expert
    Join Date
    04-14-2009
    Location
    Taiwan
    MS-Off Ver
    Excel 2016,2019,O365
    Posts
    2,003

    Re: Concatenate the first and last Number that are in a sequence in a column

    You are welcome.


    -----------------------------------
    If that takes care of your original question, please click on "Thread Tools" from the menu link above and mark this thread as SOLVED.

  7. #7
    Forum Expert wk9128's Avatar
    Join Date
    08-15-2020
    Location
    Australia
    MS-Off Ver
    365 V2403 and WPS V2022
    Posts
    3,408

    Re: Concatenate the first and last Number that are in a sequence in a column

    pls try Cell B5 formula , Drag down

    Formula: copy to clipboard
    Please Login or Register  to view this content.

  8. #8
    Registered User
    Join Date
    01-11-2019
    Location
    India
    MS-Off Ver
    2016
    Posts
    38

    Re: Concatenate the first and last Number that are in a sequence in a column

    Thanks!.... Both formula's helped!

+ 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] How to count number of Xs in the last sequence Xs in a column
    By prudential in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 05-07-2018, 12:29 PM
  2. [SOLVED] Apply number sequence to rows in column if other column is not blank
    By Groovicles in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-11-2016, 01:20 PM
  3. [SOLVED] VBA to count number in column and give number sequence in next column
    By saravanan1981 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-03-2016, 09:38 AM
  4. Replies: 7
    Last Post: 06-08-2015, 08:39 AM
  5. Hep filling column with a number sequence whenever value changes
    By kkxm in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 05-13-2014, 02:00 PM
  6. Find next avaliable number in out of sequence column
    By Kudos247 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-25-2008, 09:21 PM
  7. Repeating number sequence in a column
    By Nexan in forum Excel General
    Replies: 3
    Last Post: 03-31-2005, 03:06 PM

Tags for this Thread

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