Counting and Matching Multiple Values

SarahShep

New Member
Joined
Jan 15, 2004
Messages
4
I wonder if anyone can help me..................

We have 3 people performing 3 different activities and I need to flag up the tenth time each activity has taken place per person.

I have tried to use the sumproduct and countif formulas but they don't seem to work, I can get them to count the total amount of activities per person but I need to break it up per person, per activity.

For example..... I need the formula to flag up every 3rd time Katherine is Swimming or Running or Walking.

Column A Column B

Katherine Swimming
Laura Walking
Sarah Walking
Laura Walking
Laura Walking
Emma Running
Katherine Swimming
Sarah Running
Sarah Running
Laura Swimming
Katherine Running
Katherine Swimming
Katherine Running


Please help us sort this out as its driving crazy!!!!

Thanks
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
Hi,

Try:

=(MOD(SUMPRODUCT(($A$1:A1=$F$1)*($B$1:B1=$F$2)),$F$3)=0)*(A1=$F$1)*(B1=$F$2)

In C1 and drag down.
Book1
ABCDEFG
1KatherineSwimming0NameLaura
2LauraWalking0ActivityWalking
3SarahWalking0Times3
4LauraWalking0
5LauraWalking1
6EmmaRunning0
7KatherineSwimming0
8SarahRunning0
9SarahRunning0
10LauraSwimming0
11KatherineRunning0
12KatherineSwimming0
13KatherineRunning0
Sheet1
 
Upvote 0

Forum statistics

Threads
1,214,932
Messages
6,122,323
Members
449,077
Latest member
jmsotelo

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