+ Reply to Thread
Results 1 to 4 of 4

Fill down the whole column with consecutive numbers without dragging the mouse

  1. #1
    Registered User
    Join Date
    12-14-2012
    Location
    Cincinnati, USA
    MS-Off Ver
    Excel 2010
    Posts
    1

    Fill down the whole column with consecutive numbers without dragging the mouse

    How are you all?

    This is my first posting in this forum.

    I am just wondering how I can fill up the whole column with consecutive numbers.

    I know how to do it for small numbers such as 100, 1000, or even 100,000 by dragging down the mouse.

    However, if I want to do it up to the end of the column, which is more than million (exactly 1048576), it takes me not only time but my breath and endurance.

    Would anyone can show me how to do that with a small number of typing at once, say, by macro such as {fillup(A01:A1048576)}???

    I appreciate your help in advance.

    Thanks.

  2. #2
    Forum Expert Moo the Dog's Avatar
    Join Date
    09-28-2012
    Location
    Wisconsin
    MS-Off Ver
    Office 365 (PC & Mac)
    Posts
    1,845

    Re: Fill down the whole column with consecutive numbers without dragging the mouse

    Enter a 1 in cell A1, select cell A1 and hit Ctrl + Shift + Down Arrow
    Click on FILL, choose 'Series' with a step value of 1.

    - Moo

  3. #3
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: Fill down the whole column with consecutive numbers without dragging the mouse

    This will fill down 10, 20, 30... to the last row.

    Please Login or Register  to view this content.
    If posting code please use code tags, see here.

  4. #4
    Forum Expert icestationzbra's Avatar
    Join Date
    01-07-2004
    MS-Off Ver
    2007, 2010
    Posts
    1,421

    Re: Fill down the whole column with consecutive numbers without dragging the mouse

    highlight the entire column, enter a formula in the formula bar and hit CONTROL+ENTER.

    for example, click on column label A. once the entire column is highlighted, go to formula bar and enter the formula:

    =ROW()

    while the cursor is still in the formula bar, hit CONTROL and ENTER together. in a couple of seconds, the entire column A will be filled with 1, 2, 3, 4, 5...

    if you wanted to fill 10, 20, 30, 40, 50 etc., you would use the formula:

    =ROW()*10

    if you want to fill 1, 2, 3, 1, 2, 3 etc., you would use the formula:

    =MOD(ROW(),3)+(NOT(MOD(ROW(),3))*3)

    basically, any sequence or progression, which can be represented mathematically, can be established using this method.
    - i.s.z -
    CSE, aka Array aka { }, formulae are confirmed with CONTROL+SHIFT+ENTER.
    Replace commas ( , ) with semicolons ( ; ) in formulae, if your locale setting demands.
    All good ideas are courtesy resources from this forum as well as others around the web.
    - e.o.m -

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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