Hello!!
Here's a raw data sample:
<tbody>
</tbody>
I'd like Excel to find the last entry for a given Program (Column B) then count which Phase it is in (Column C). The ideal output for this would be as follows:
<tbody>
</tbody>
The last Phase for "Circle" was "P3", the last Phase for "Square" was "P2", and the last Phase for Triangle was "P3". So, "P2" received a sum of "1" while "P3" received a sum of "2". Does anyone have any ideas on how to approach that? I need to ignore all Phase entries except those that are the very last for a given program. Thank you so much in advance!!!
Here's a raw data sample:
Date | Program | Phase |
1/1/18 | Circle | PRM |
1/2/18 | Circle | P2 |
1/3/18 | Circle | P3 |
1/1/18 | Square | PRM |
1/2/18 | Square | P1MT |
1/3/18 | Square | P2 |
1/1/18 | Triangle | P3 |
<tbody>
</tbody>
I'd like Excel to find the last entry for a given Program (Column B) then count which Phase it is in (Column C). The ideal output for this would be as follows:
Phase | Count |
P2 | 1 |
P3 | 2 |
<tbody>
</tbody>
The last Phase for "Circle" was "P3", the last Phase for "Square" was "P2", and the last Phase for Triangle was "P3". So, "P2" received a sum of "1" while "P3" received a sum of "2". Does anyone have any ideas on how to approach that? I need to ignore all Phase entries except those that are the very last for a given program. Thank you so much in advance!!!