+ Reply to Thread
Results 1 to 3 of 3

find occurrences of customer numbers in a column and number them 1,2,3,etc

Hybrid View

  1. #1
    Registered User
    Join Date
    03-19-2009
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2011
    Posts
    37

    find occurrences of customer numbers in a column and number them 1,2,3,etc

    Hi,

    I am trying to write a formula that puts a 1 in column H on the first occurrence of a customer code, and a 2 in column H on the second occurrence of the customer code, and a 3 in column H for the third occurrence, etc. Is there an easy way to do this?

    Thanks in advance! I've attached an excel doc as an example. The highlighted column is what I would like the end result to be when using a formula.
    Attached Files Attached Files

  2. #2
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: find occurrences of customer numbers in a column and number them 1,2,3,etc

    In H4

    =COUNTIF(A$4:A4,A4)
    Copy down
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  3. #3
    Registered User
    Join Date
    03-19-2009
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2011
    Posts
    37

    Re: find occurrences of customer numbers in a column and number them 1,2,3,etc

    Haha - I guess that was easy! Thanks so much!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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