Days/rows since 'certain value' for individuals

PerryN1

New Member
Joined
Jun 12, 2014
Messages
14
Hi, running PowerPivot in excel 2016, say I have a group of 10 persons, and for every day the 10 persons record a score. I'm wanting to find how many days (or rows given that each row is a different day for the individual person) since each person recorded a score of say 60. So in the example below, say today is 09/02, person3 would show as 2 rows or days and the other 2 persons would go back to whenever they last achieved 60 or above. I'm sure it will be a simple COUNTROWS with a filter for the person but I can't work it out. Thanks for any help!

Date | Person | Score |

08/02/14 | Person1 | 10 |
08/02/14 | Person2 | 13 |
08/02/14 | Person3 | 7 |
07/02/14 | Person1 | 15 |
07/02/14 | Person2 | 25 |
07/02/14 | Person3 | 65 |
06/02/14 | Person1 | 20 |
06/02/14 | Person2 | 15 |
06/02/14 | Person3 | 12 |
05/02/14 | Person1 | 10 |
05/02/14 | Person2 | 15 |
05/02/14 | Person3 | 12 |
 

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.

Forum statistics

Threads
1,223,888
Messages
6,175,213
Members
452,618
Latest member
Tam84

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