COUNTIF with Multiple References - Please Help!!!

contraububu

New Member
Joined
Nov 18, 2013
Messages
17
Can someone help me with the following scenario? I would like to find an excel formula that would give me for any changes in the "Name" column, count how many occurrence in the "Effective Date" for that name and display it as Day 1, Day 2, Day 3 etc. or just simply give me the count. Much appreciate your help!

NameEffective DateExcel Formula
Michael09/15/2016Day 1
Michael04/01/2016Day 2
Michael09/08/2014Day 3
Frank10/16/2015Day 1
Edmond10/16/2015Day 1
Lina04/01/2016Day 1
Lina09/01/2015Day 2
Laura04/01/2016Day 1
Laura02/23/2015Day 2
Robert04/01/2016Day 1
Robert12/01/2015Day 2
Steven12/14/2015Day 1
Brittany04/01/2016Day 1
Brittany11/01/2016Day 2
Mitchell10/31/2016Day 1
Mitchell04/01/2016Day 2
Mitchell11/01/2015Day 3

<colgroup><col><col><col></colgroup><tbody>
</tbody>
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
Hi?

Try this:

ABC
1Name
Effective Date
Excel Formula
2Michael
09/15/2016
="Day "&ROW()-MATCH(A2,$A$2:$A$18,FALSE)
3Michael
04/01/2016
="Day "&ROW()-MATCH(A3,$A$2:$A$18,FALSE)
4Michael
09/08/2014
="Day "&ROW()-MATCH(A4,$A$2:$A$18,FALSE)
5Frank
10/16/2015
="Day "&ROW()-MATCH(A5,$A$2:$A$18,FALSE)
6Edmond
10/16/2015
="Day "&ROW()-MATCH(A6,$A$2:$A$18,FALSE)
7Lina
04/01/2016
="Day "&ROW()-MATCH(A7,$A$2:$A$18,FALSE)
8Lina
09/01/2015
="Day "&ROW()-MATCH(A8,$A$2:$A$18,FALSE)
9Laura
04/01/2016
="Day "&ROW()-MATCH(A9,$A$2:$A$18,FALSE)
10Laura
02/23/2015
="Day "&ROW()-MATCH(A10,$A$2:$A$18,FALSE)
11Robert
04/01/2016
="Day "&ROW()-MATCH(A11,$A$2:$A$18,FALSE)
12Robert
12/01/2015
="Day "&ROW()-MATCH(A12,$A$2:$A$18,FALSE)
13Steven
12/14/2015
="Day "&ROW()-MATCH(A13,$A$2:$A$18,FALSE)
14Brittany
04/01/2016
="Day "&ROW()-MATCH(A14,$A$2:$A$18,FALSE)
15Brittany
11/01/2016
="Day "&ROW()-MATCH(A15,$A$2:$A$18,FALSE)
16Mitchell
10/31/2016
="Day "&ROW()-MATCH(A16,$A$2:$A$18,FALSE)
17Mitchell
04/01/2016
="Day "&ROW()-MATCH(A17,$A$2:$A$18,FALSE)
18Mitchell
11/01/2015
="Day "&ROW()-MATCH(A18,$A$2:$A$18,FALSE)

<tbody>
</tbody>
 
Upvote 0

Forum statistics

Threads
1,214,653
Messages
6,120,750
Members
448,989
Latest member
mariah3

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top