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

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.

Forum statistics

Threads
1,223,230
Messages
6,170,883
Members
452,364
Latest member
springate

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