+ Reply to Thread
Results 1 to 6 of 6

Numbered rows...

  1. #1
    Registered User
    Join Date
    03-19-2010
    Location
    quebec
    MS-Off Ver
    Excel 2003
    Posts
    6

    Numbered rows...

    Hi

    I would like to get numbered rows depending on a value entered in a cell,
    let's say that value is 10, so I want A1 to be 1, A2 to be 2, thru 10.

    Thanks in advance.

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Numbered rows...

    put this in any cell you want to start from and drag down then put value in d1
    =IF(ROWS($A$1:A1)>$D$1,"",ROWS($A$1:A1))
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Registered User
    Join Date
    03-19-2010
    Location
    quebec
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: Numbered rows...

    Thanks for the answer, but I don't want to drag down to get the numbers,
    I want them to light up automaticaly.

  4. #4
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Numbered rows...

    what do you want then?
    harry potter magic?
    i suppose you could use code tho'
    Last edited by martindwilson; 03-22-2010 at 08:17 PM.

  5. #5
    Registered User
    Join Date
    03-19-2010
    Location
    quebec
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: Numbered rows...

    Quote Originally Posted by tancuda View Post
    Thanks for the answer, but I don't want to drag down to get the numbers,
    I want them to light up automaticaly.
    Sorry for that reply and my english, "light up" wasn't the good expression to use I think !
    I'm learning...I'm learning.....

    But I did run your formula again, and tha'ts good, I have to translate
    the formula in french, it's not that evident. Now I like it.

    Any idea where I can find Excel formulas in english and french ?

    Thanks anyway.

  6. #6
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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