+ Reply to Thread
Results 1 to 9 of 9

Seperate a range number to include all the numbers inbetween?

  1. #1
    Registered User
    Join Date
    03-13-2020
    Location
    Ohio
    MS-Off Ver
    Office 365
    Posts
    11

    Seperate a range number to include all the numbers inbetween?

    Excel newbie here,

    Is there a way to separate a number range within a cell to include all the numbers in between?

    Example:
    2001-2004

    Outcome
    2001
    2002
    2003
    2004
    Attached Files Attached Files

  2. #2
    Forum Expert dosydos's Avatar
    Join Date
    12-09-2015
    Location
    MA, USA
    MS-Off Ver
    365(PC) V:2412
    Posts
    1,475

    Re: Seperate a range number to include all the numbers inbetween?

    are you still using Excel 2016?
    <----- If you are happy with your solution please click on the "* Add Reputation" as a way to say thank you.

  3. #3
    Registered User
    Join Date
    03-13-2020
    Location
    Ohio
    MS-Off Ver
    Office 365
    Posts
    11

    Re: Seperate a range number to include all the numbers inbetween?

    We're using Office 365.

  4. #4
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Cool Re: Seperate a range number to include all the numbers inbetween?

    with Power Query

    raw Custom
    2001-2004
    2001
    2007-2009
    2002
    2003
    2004
    2007
    2008
    2009


    Please Login or Register  to view this content.
    Last edited by sandy666; 03-07-2023 at 01:57 PM.

  5. #5
    Forum Expert
    Join Date
    10-11-2021
    Location
    Netherlands
    MS-Off Ver
    365
    Posts
    1,505

    Re: Seperate a range number to include all the numbers inbetween?

    Can someone explain this??
    First formula's output is 4 (as expected)

    Please Login or Register  to view this content.

    This is not working as expected. I expect a range...weird

    Please Login or Register  to view this content.

  6. #6
    Forum Expert
    Join Date
    10-11-2021
    Location
    Netherlands
    MS-Off Ver
    365
    Posts
    1,505

    Re: Seperate a range number to include all the numbers inbetween?

    Here one more option with power query though

    Please Login or Register  to view this content.
    Last edited by JEC.; 03-07-2023 at 02:42 PM.

  7. #7
    Registered User
    Join Date
    03-13-2020
    Location
    Ohio
    MS-Off Ver
    Office 365
    Posts
    11

    Re: Seperate a range number to include all the numbers inbetween?

    Wow thank you Sandy and JEC you guys just made my day so much easier! Can't thank you both enough. Have a nice afternoon.

  8. #8
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Seperate a range number to include all the numbers inbetween?

    You are welcome

  9. #9
    Forum Expert
    Join Date
    10-11-2021
    Location
    Netherlands
    MS-Off Ver
    365
    Posts
    1,505

    Re: Seperate a range number to include all the numbers inbetween?

    Does someone has an answer to the issue in post 5? Looks like a bug

+ 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 include numbers in a certain range for AVERAGEIFS
    By news98 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-23-2020, 03:53 PM
  2. How to remove the space inbetween numbers
    By uday1969 in forum Excel General
    Replies: 7
    Last Post: 07-01-2020, 12:36 PM
  3. [SOLVED] Counting a range of cells that include text and numbers
    By jbourne21 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-30-2015, 05:58 AM
  4. Replies: 2
    Last Post: 09-17-2013, 12:03 PM
  5. Replies: 0
    Last Post: 01-29-2012, 10:05 PM
  6. convert a number into two seperate numbers in two different cells.
    By odin1701 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-30-2007, 06:54 PM
  7. Replies: 1
    Last Post: 03-17-2006, 01:30 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