+ Reply to Thread
Results 1 to 6 of 6

Formula to re-sequence sequential numbers in a column

  1. #1
    Forum Contributor
    Join Date
    05-13-2012
    Location
    Eagle River, Alaska
    MS-Off Ver
    Excel 2010
    Posts
    145

    Formula to re-sequence sequential numbers in a column

    I am trying to figure out a formula to re-sequence numbers in a column. I have "Item" numbers 1:30 in Column A. "Item Descriptions" are in Column B. If I delete a ROW, I want the number below the deletion and all subsequent numbers to be sequentially renumbered/changed. For example, if I delete one row, then the last number will now be 29. Hopefully I have described this adequately.

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,895

    Re: Formula to re-sequence sequential numbers in a column

    In column A, replace the hard coded numbers with this excel formula

    =ROW()
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Forum Contributor
    Join Date
    05-13-2012
    Location
    Eagle River, Alaska
    MS-Off Ver
    Excel 2010
    Posts
    145

    Re: Formula to re-sequence sequential numbers in a column

    This works if the first number, 1, is in Row/Cell A1. But what if the first number starts in Cell A3 (for example). Thanks!

  4. #4
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,895

    Re: Formula to re-sequence sequential numbers in a column

    =row()-2 would be my suggestion

  5. #5
    Forum Contributor
    Join Date
    05-13-2012
    Location
    Eagle River, Alaska
    MS-Off Ver
    Excel 2010
    Posts
    145

    Smile Re: Formula to re-sequence sequential numbers in a column

    =Row( )-2 is the solution! Many thanks!!

  6. #6
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Formula to re-sequence sequential numbers in a column

    Here's another one...

    Let's assume you want to start the sequence in cell A2.

    Enter this formula in A2 and copy down as needed:

    =ROWS(A$2:A2)
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

+ 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] Creating a sequence based on numbers in one column and adding "01,02..." to a new sequence
    By JCR1968 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-05-2013, 08:06 AM
  2. Sequential Numbers in a Specific Column
    By MSmithson in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-01-2010, 02:29 PM
  3. Sequential column numbers
    By C Holmes in forum Excel General
    Replies: 2
    Last Post: 06-04-2010, 01:45 PM
  4. [SOLVED] Fill a column with sequential numbers
    By GISDude in forum Excel General
    Replies: 4
    Last Post: 05-01-2006, 09:45 AM
  5. how do I autofil a column with sequential numbers?
    By Yesrek in forum Excel General
    Replies: 2
    Last Post: 11-19-2005, 11:35 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