+ Reply to Thread
Results 1 to 5 of 5

Generate unique id for similar amounts

  1. #1
    Registered User
    Join Date
    08-16-2011
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    28

    Generate unique id for similar amounts

    I attached a sample xls file in which total column have several item in which some amount are repeated i want to give these amount a unique id so in next column is id i put there values manually i want to generate these id automatically. please provide formula for that

    thanks
    Attached Files Attached Files

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Generate unique id for similar amounts

    In F2, copied down, perhaps:

    =IF($C2=0, "", COUNTIF($C$1:$C2,$C2))
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    08-16-2011
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    28

    Re: Generate unique id for similar amounts

    Great, it works

    thanks very much

  4. #4
    Registered User
    Join Date
    08-16-2011
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    28

    Re: Generate unique id for similar amounts

    i there any difference between ur formula and this formula

    =COUNTIF($E$1:$E2,$E2)
    =IF($C2=0, "", COUNTIF($C$1:$C2,$C2))

  5. #5
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Generate unique id for similar amounts

    Yes, you're formula give a number on rows that aren't CHEQUES, like row 16. Mine returns a blank for that row.


    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

+ 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: 08-09-2013, 12:56 PM
  2. Merging similar data and amounts
    By erisaaka in forum Excel General
    Replies: 7
    Last Post: 02-22-2013, 06:13 PM
  3. Sum all amounts, for same code, for same unique id - Extract to just 1 line
    By tyrese214 in forum Access Tables & Databases
    Replies: 4
    Last Post: 07-11-2010, 02:26 AM
  4. Add similar name amounts
    By georgei in forum Excel General
    Replies: 3
    Last Post: 11-05-2009, 10:14 AM
  5. Posting Large amounts of similar stuff
    By Iamxerocool in forum Excel General
    Replies: 2
    Last Post: 07-06-2005, 07:05 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