SOLVED

Help with calculations

Copper Contributor

Hi there !

 

I was hoping to get some answers/tips on how to go about the following task:

 

CLIENTDATEAppearance
AJan 11
BFeb 201
CMar 21
DApr 31
AMay 82
AJun 43
BJul 252
AJul 28???
CAug 21???
DOct 1???

 

I have a table of Client Names (A, B, C, D). I have a date when they purchased a product from me.

I am trying to come up with a formula/codethat will give me numbers that I have in "Appearance" column. For instance, Client A's first purchase (Appearance #1) was on Jan 1. Then, Client A came back on May 8 for his second purchase (Appearance #2).  On Jul 28, Client A shows up again for his X purchase. I need to find that X. Rudely speaking, if I go from the top of the column (A1) to bottom (A99), I want the number of times I have done transaction with a particular client to show up in my "Appearance" column.

 

Your help is appreciated.

 

Thank you

2 Replies
best response confirmed by seyranmammadov (Copper Contributor)
Solution

@seyranmammadov 

Enter the following formula in C2:

 

=COUNTIF(A$2:A2,A2)

 

Fill down to the end of the data.

@Hans Vogelaar Thank you and God Bless!

1 best response

Accepted Solutions
best response confirmed by seyranmammadov (Copper Contributor)
Solution

@seyranmammadov 

Enter the following formula in C2:

 

=COUNTIF(A$2:A2,A2)

 

Fill down to the end of the data.

View solution in original post