+ Reply to Thread
Results 1 to 3 of 3

Assigning additional Letters for duplicate numbers

  1. #1
    Registered User
    Join Date
    04-04-2021
    Location
    Australia
    MS-Off Ver
    Office365
    Posts
    25

    Assigning additional Letters for duplicate numbers

    Hi,

    Is it possible when I paste a sequence of numbers in B and when there are duplicates it will assign a letter at the end of the number and the letters that can be added will depend on how many the duplicates are?
    Attached Files Attached Files

  2. #2
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,222

    Re: Assigning additional Letters for duplicate numbers

    Please try at
    C2
    =B2&IF(COUNTIFS($B$2:$B$17,B2)>1,CHAR(96+COUNTIFS(B$2:B2,B2)),"")
    drag down

    or
    D2 Spill array
    =LET(z,B2:B17,r,ROW(z),z&IF(ISERROR(MATCH(z,UNIQUE(z,,1),)),CHAR(MMULT((z=TRANSPOSE(z))*(r>=TRANSPOSE(r)),r^0)+96),""))
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    04-04-2021
    Location
    Australia
    MS-Off Ver
    Office365
    Posts
    25

    Re: Assigning additional Letters for duplicate numbers

    Hi,

    Thank you so so so so much You solved my problem.


    Yehey!!!!

+ 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: 1
    Last Post: 12-08-2015, 07:44 PM
  2. Assigning a value from letters in a column
    By andyslonaker in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-17-2014, 05:10 PM
  3. Using search>contains for duplicate letters and numbers
    By lewgill in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-14-2013, 09:21 AM
  4. [SOLVED] Adding an additional ID to compare before assigning a value
    By djfscouse in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 03-18-2013, 10:22 AM
  5. Assigning Numbers to Letters
    By jhazelton1 in forum Excel General
    Replies: 6
    Last Post: 12-28-2011, 11:57 PM
  6. assigning numbers to letters
    By cmlm in forum Excel General
    Replies: 4
    Last Post: 10-29-2009, 11:21 PM
  7. Assigning values to letters
    By ScarletHaze in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-09-2009, 11:39 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