Ask Me Help Desk

Ask Me Help Desk (https://www.askmehelpdesk.com/forum.php)
-   Spreadsheets (https://www.askmehelpdesk.com/forumdisplay.php?f=395)
-   -   Generating sequential list in Excel 2003 (https://www.askmehelpdesk.com/showthread.php?t=736531)

  • Feb 27, 2013, 01:19 PM
    jolie0216
    Generating sequential list in Excel 2003
    My column A is going to be a numbering column. The numbers need to go like so: OH2-00001x, OH2-00002x, OH2-00003x, OH2-00004x, etc. These are sequential so how can I get Excel to autofill these for me (so I don't have to manually input 15,000 of these!). The regular way of getting excel to autofill 1, 2, 3, 4 doesn't work with this. What kind of formula/macro/whatever do I need to get the results I want? Thanks!
  • Feb 27, 2013, 02:43 PM
    ScottGem
    Try filling in the first 3 or 4 rows. Then select those cells and drag the lower right corner down a few row. See if it fills in the sequence. If it does, then highlight all the cells and drag the corner down all 15000 rows.

    If it doesn't work. Then just put the numbers in the rows and create the sequence. Then Concatenate that column with the text.
  • Feb 28, 2013, 11:05 PM
    JBeaucaire
    1) Put this formula in the first cell for the first number, do not edit the A1:

    ="OH2-"&TEXT(ROW(A1),"00000")&"x"

    2) Copy that cell down as far as needed.

    3) Highlight all the cells with the new formulas

    4) Do a COPY, then PasteSpecial > Values

  • All times are GMT -7. The time now is 08:41 AM.