+ Reply to Thread
Results 1 to 11 of 11

excel grid sequential numbering

  1. #1
    Registered User
    Join Date
    03-22-2019
    Location
    sydney
    MS-Off Ver
    2016
    Posts
    3

    excel grid sequential numbering

    Hi all
    Is there a way to sequentially number a grid eg: a 3 by 3 square grid inserting down the first column 123 then up the next column 456 then down the next column 789
    i can do this one column at a time, but i want to do a whole grid as there is up 1000 numbers in some of the grids grids
    thank you

    mic

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: excel grid sequential numbering

    Hi, welcome to the forum

    Assuming you want the grid to start in A1 (row 1 would contain headers), you could probably do this with a simple A3=a2+1 copied down and across as needed.
    Then B2, C2 etc would be =max(A:A) etc
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: excel grid sequential numbering

    Please try

    =COLUMN(A1)+(ROW(A1)-1)*3

    Drag across and down, Change No. in red to match column #

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: excel grid sequential numbering

    Bo, hopefully 1 of understood what the OP wanted lol.

    I took it to mean that the 3x3 table was just an example, and that the grid could be far larger...
    but i want to do a whole grid as there is up 1000 numbers in some of the grids
    You took it to just be a 3x3 grid. I guess we will find out soon which 1 read the requirement correctly lol

    @ mic, this just goes to show that a clear definition/explanation of the problem and requirement is essential for a good response

  5. #5
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: excel grid sequential numbering

    Ford, LoL, some time mind reading game is fun.

    Another guess is
    =ROW(A1)+(COLUMN(A1)-1)*3

  6. #6
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: excel grid sequential numbering

    Indeed, Bo, indeed.

    My wife went on an excel course (company paid, so why not?), and they had a very brief into to macros. She started dabbling, got stuck and asked me for help. When asked what she was doing, she told me the main parts of what she was doing, then went on about opening an email and "clicking on some buttons". I asked, which buttons", but she just said "some at the top somewhere" LOL

  7. #7
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: excel grid sequential numbering

    LoL, something somewhere, someone helps me.

  8. #8
    Registered User
    Join Date
    03-22-2019
    Location
    sydney
    MS-Off Ver
    2016
    Posts
    3

    Re: excel grid sequential numbering

    thanks for the answer =ROW(A1)+(COLUMN(A1)-1)*3 this works but the only problem is every column starts at the top of the grid. i want the first row to go down,
    the second to go up, the third to go down,ect (in zig-zig pattern)
    i need this for many grids of different sizes and some are quite large (example about 80 x 35)
    thanks
    mic
    Last edited by mic d; 03-23-2019 at 05:05 AM.

  9. #9
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: excel grid sequential numbering

    Please try this and change no. of Row in RED, drag across and down

    =IF(ROW(A1)>5,"",ROW(A1)*SIGN(MOD(COLUMN(A1),2)-0.5)+MOD(COLUMN(A1)-1,2)+(COLUMN(A1)-1+MOD(COLUMN(A1)-1,2))*5)
    Last edited by Bo_Ry; 03-23-2019 at 05:28 AM.

  10. #10
    Registered User
    Join Date
    03-22-2019
    Location
    sydney
    MS-Off Ver
    2016
    Posts
    3

    Re: excel grid sequential numbering

    thanks Bo
    that appears to be exactly what i want
    will let you know i have any problems

    thanks again
    Mic

  11. #11
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: excel grid sequential numbering

    mic, Im happy you got what you wanted, but as you can tell, your request was pretty vague.

    Did you try my suggestion?

+ 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] Car plants sequential numbering system and excel VBA
    By mucbeanz in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 10-13-2015, 03:11 PM
  2. Sequential Numbering in Excel within specified Range
    By Ariff_Chowdhury in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-21-2013, 11:16 AM
  3. Can I set up sequential numbering in a colum in excel
    By Quitefriendly1 in forum Excel General
    Replies: 4
    Last Post: 06-21-2006, 08:50 PM
  4. In Excel, how do I setup sequential numbering on an invoice?
    By Kostumeroom in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-19-2005, 08:05 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