+ Reply to Thread
Results 1 to 4 of 4

Listing individual numbers from a whole number

  1. #1
    Forum Contributor
    Join Date
    06-20-2012
    Location
    Derby
    MS-Off Ver
    Excel 2010
    Posts
    381

    Listing individual numbers from a whole number

    Hi All,

    Not sure if this is possible (or if I'm going to explain what I want clearly!) -

    In one cell I have a number, for example 300
    In another cell I want to populate all the cells running down with 1, 2, 3 etc up to 300

    For my example -

    In E2 I have 300 - but that could be any number. In cells I2:I502 I want a formula that will look at the number in E2 and list the individual numbers 1-300.

    So I would expect an individual formula in I2:502.

    Any ideas?

  2. #2
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Re: Listing individual numbers from a whole number

    With
    E2: a number....300
    I1: any label....Seq

    This regular formula, copied down through I502, begins the list of sequential numbers
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    In the above example, the formulas list values from 1 through 300.

    Is that something you can work with?
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

  3. #3
    Forum Contributor
    Join Date
    06-20-2012
    Location
    Derby
    MS-Off Ver
    Excel 2010
    Posts
    381

    Re: Listing individual numbers from a whole number

    Hi Ron,

    That's perfect, mate. Works exactly how I want it.

    What does the N mean in the formula?

  4. #4
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Re: Listing individual numbers from a whole number

    The N() function converts its referenced item to a number, if possible, otherwise: zero
    A1: mytext
    A2: =A1*10 resolves to #VALUE!
    A3: =N(A1)*10 resolves to 0

    So in the formula I posted, it's a shortcut for processing the referenced cell, even if it contains text.

    I hope that helps.

+ 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] Listing even and odd numbers
    By szasz in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-26-2013, 02:31 PM
  2. Replace individual numbers with a number range value
    By AKM1 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 03-26-2013, 11:40 AM
  3. Listing all combinations of 6 out of 10 numbers?
    By Faux Carnival in forum Excel General
    Replies: 4
    Last Post: 11-06-2010, 07:38 AM
  4. listing individual categories
    By ceemo in forum Excel General
    Replies: 7
    Last Post: 05-16-2005, 02:03 PM
  5. Listing Numbers within Ranges
    By shternm in forum Excel General
    Replies: 0
    Last Post: 02-22-2005, 02:20 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