+ Reply to Thread
Results 1 to 4 of 4

Serial Numbers for different categories

  1. #1
    Forum Contributor aganesan99's Avatar
    Join Date
    04-26-2013
    Location
    Chennai, India
    MS-Off Ver
    Excel 2010
    Posts
    129

    Exclamation Serial Numbers for different categories

    Dear All,

    I am having different categories and I want to give Serial numbers for each category. For example there are categories AA, BB and CC. For each category I would like to give serial numbers like for AA starting from 1000 and for BB-2000 and CC-3000. (please refer the attached file for better understanding of the situation)

    I want to do it using formula.

    Any help appreciated.

    Thanks,
    aganesan99
    Attached Files Attached Files

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Serial Numbers for different categories

    In B2 Cell


    =IF(COUNTIF($A$2:A2,A2)>1,VLOOKUP(A2,$A$1:B1,2,0)+COUNTIF($A$2:A2,A2)-1,COUNTIF($A$2:A2,A2)*(MAX($B$1:B1)+1000))


    Drag it down...


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Forum Expert
    Join Date
    10-09-2014
    Location
    Newcastle, England
    MS-Off Ver
    2003 & 2013
    Posts
    1,986

    Re: Serial Numbers for different categories

    is this a one off job? ie you have a spreadsheet full of these and want them creating or will this need to exist in a "live" sheet and therefore create new serial numbers "on the fly"?
    If someone has helped you then please add to their Reputation

  4. #4
    Forum Contributor aganesan99's Avatar
    Join Date
    04-26-2013
    Location
    Chennai, India
    MS-Off Ver
    Excel 2010
    Posts
    129

    Re: Serial Numbers for different categories

    Quote Originally Posted by :) Sixthsense :) View Post
    In B2 Cell


    =IF(COUNTIF($A$2:A2,A2)>1,VLOOKUP(A2,$A$1:B1,2,0)+COUNTIF($A$2:A2,A2)-1,COUNTIF($A$2:A2,A2)*(MAX($B$1:B1)+1000))


    Drag it down...
    Thanks Sixthsense. It worked. Great!!!!

    aganesan99

+ 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. Replies: 6
    Last Post: 10-22-2012, 05:15 PM
  2. Excel 2007 : Adding numbers from different categories
    By mrdhukka in forum Excel General
    Replies: 3
    Last Post: 04-29-2010, 01:15 AM
  3. 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
  4. Form Serial Numbers
    By AlphadOmega in forum Excel General
    Replies: 3
    Last Post: 02-28-2007, 06:26 PM
  5. 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

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