Help with COUNTIFS formula - highlight the first duplicate value

Multiboard

New Member
Joined
Mar 7, 2024
Messages
5
Office Version
  1. 365
Platform
  1. Windows
Hi Everyone, I hope you can help me in expanding a formula please.
I have a sheet with 3 columns; Column A=Names in alphabetic order, Column B=Date the task was completed and column C=will need to show the daily tasks sequentially and for each name. I hope the example below makes sense. I'm currently using, in cell C2, =COUNTIFS($A$2:$A2,"Anna", $B$2:$B2,$B2), which only works with Anna and I really can't find a way to add the other names in the formula.
A B C
Anna 01.01.25 1
Anna 01.01.25 2
Anna 02.01.25 1
Bill 01.01.25 1
Bill 03.01.15 1
Bill 03.01.25 2
Carter 01.01.25 1
Carter 01.01.25 2
Carter 02.01.25 1
Carter 02.01.25 2
Carter 02.01.25 3
Any help, would be highly appreciated.
Thank you in advance.
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
How about
Excel Formula:
=COUNTIFS($A$2:$A2,A2,$B$2:$B2,$B2)
 
Upvote 0
Hi, it worked perfectly. I really appreciate for your help. Thank you very much :).
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,226,113
Messages
6,189,048
Members
453,522
Latest member
Seeker2025

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