+ Reply to Thread
Results 1 to 4 of 4

how to put serial number based on a cell value / name

  1. #1
    Forum Contributor
    Join Date
    02-27-2009
    Location
    Chennai, India
    MS-Off Ver
    Excel 2013
    Posts
    327

    how to put serial number based on a cell value / name

    Ref. Attached file quest.xlsx

    Column A has Person's name. I need to give unique serial number for each person in B column.

    How to do this.

    Thanks in advance.
    Attached Files Attached Files
    Ask me how to hate XL.

  2. #2
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: how to put serial number based on a cell value / name

    There is probably a cleaner way to do this but this works:

    B1 =IF(COUNTIF(A$1:A1,A1)>1,"",SUMPRODUCT(--(FREQUENCY(MATCH(A$1:A1,A$1:A1,0),ROW(A$1:A1)-ROW(A$1)+1)>0)))

    Drag the formula down.

  3. #3
    Forum Contributor
    Join Date
    02-27-2009
    Location
    Chennai, India
    MS-Off Ver
    Excel 2013
    Posts
    327

    Re: how to put serial number based on a cell value / name

    Thanks a lot, it did its work.
    Last edited by AliGW; 02-14-2019 at 02:29 PM.

  4. #4
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: how to put serial number based on a cell value / name

    You're welcome. Happy to help.

+ 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] Generate Serial number based on date
    By Jamesdlm in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 10-23-2019, 08:33 AM
  2. match the loans based off of the serial number
    By kvpoteat in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-14-2019, 01:00 PM
  3. Serial Number generated with sequential letter based on Date
    By cwhite86 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 08-10-2016, 06:38 AM
  4. code to generate serial number based on number of records
    By winmaxservices1 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-05-2015, 03:21 AM
  5. [SOLVED] Serial Number Allotment based on data in Column B
    By NeedForExcel in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-14-2013, 09:13 AM
  6. [SOLVED] Create serial numbers based on a single input number.
    By jmp601 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-08-2013, 11:33 AM
  7. 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

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