+ Reply to Thread
Results 1 to 6 of 6

Serial numbers in column A

  1. #1
    Registered User
    Join Date
    11-24-2013
    Location
    Mumbai
    MS-Off Ver
    Office 365
    Posts
    70

    Serial numbers in column A

    Dear Experts,

    I'm trying to get serial number 1,2,3,4 and so on in column A depending on tag in column B. Example in column A.. 1,2,3 serially but in 4th row in B column if tag is "Cancelled" then in column A 4th row should exclude for serial and serial number 4 should start from 5th row in column A and so on.

    Thanks in advance
    Last edited by vijayca; 12-22-2019 at 09:27 AM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,628

    Re: Serial numbers in column A

    Please attach the workbook. There are instructions at the top of the page.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,628

    Re: Serial numbers in column A

    Please attach the workbook to THIS thread - do not create a new thread!

  4. #4
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,071

    Re: Serial numbers in column A

    How about, in A2 copied down
    =IF(B2="Cancelled","",MAX(A$1:A1)+1)

  5. #5
    Forum Expert
    Join Date
    12-11-2011
    Location
    Netherlands
    MS-Off Ver
    office 365
    Posts
    3,291

    Re: Serial numbers in column A

    With a small addition:
    =IF(or(B2="",B2="Cancelled"),"",MAX(A$1:A1)+1)
    Willem
    English is not my native language sorry for errors
    Please correct me if I'm completely wrong

  6. #6
    Valued Forum Contributor saravnepali's Avatar
    Join Date
    01-14-2019
    Location
    Sydney Australia
    MS-Off Ver
    2010
    Posts
    447

    Re: Serial numbers in column A

    Put this on B2 and drag down as far as you need.

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Please don't forget the $ sign as shown above

    Hope this helps
    If you think someone helped you, click on the "* Add Reputation" as a way to say thank you.

    If your problem is solved, go to Thread Tools and select Mark This Thread Solved

+ 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] Fill a column based on another corresponding cell or serial numbers
    By jilaba in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 07-24-2019, 02:57 PM
  2. Serial Numbers
    By sherlock1241 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-31-2017, 09:24 AM
  3. Serial numbers
    By aganesan99 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-04-2015, 10:29 AM
  4. Finding a serial number in a list of serial numbers
    By zocoloco in forum Excel General
    Replies: 2
    Last Post: 02-04-2009, 05:20 AM
  5. A Macro to find missing serial numbers in a column
    By Khoshravan in forum Excel General
    Replies: 9
    Last Post: 08-06-2006, 05:40 AM
  6. [SOLVED] serial numbers excel
    By JpBar in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-29-2006, 06:00 PM
  7. to find missing serial numbers in randomly generated numbers
    By B.H. Hadi in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-01-2005, 07:00 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