CamelDCamel
New Member
- Joined
- Nov 11, 2019
- Messages
- 1
Hi All,
I'm new here, so firstly nice to meet you all!
Trying to work out a way to approach this situation. I have a set of data similar to the following. What I want to do is find a way to only show the 2 most latest (most recent date) for each User. For example:
<tbody>
</tbody>
As an end result, I was trying to get something like this:
<tbody>
</tbody>
I thought about putting the data in a pivot table, then sorting the pivot table so the most recent date is always leftmost, then having another sheet that gets the 2 leftmost values with data, however I feel that's probably quite convoluted and there is an easy way.
The data is transnational and will continue to change daily but I only way the last 3 days for each user.
Does anyone have any suggestions on how to approach this?
Thanks in advance!
I'm new here, so firstly nice to meet you all!
Trying to work out a way to approach this situation. I have a set of data similar to the following. What I want to do is find a way to only show the 2 most latest (most recent date) for each User. For example:
Date | Name | Value |
01/01/19 | User 1 | 17 |
02/03/19 | User 1 | 4 |
13/04/19 | User 1 | 12 |
01/01/19 | User 2 | 5 |
02/03/19 | User 2 | 23 |
13/04/19 | User 2 | 2 |
18/05/19 | User 2 | 44 |
01/01/19 | User 3 | 12 |
02/03/19 | User 3 | 46 |
01/01/19 | User 4 | 11 |
02/03/19 | User 4 | 62 |
13/04/19 | User 4 | 21 |
18/05/19 | User 4 | 4 |
01/01/19 | User 5 | 2 |
02/03/19 | User 5 | 61 |
13/04/19 | User 5 | 33 |
18/05/19 | User 5 | 11 |
20/06/19 | User 5 | 34 |
<tbody>
</tbody>
As an end result, I was trying to get something like this:
Date | Name | Value | |
2/03/19 | User 1 | 4 | |
<tbody> </tbody> | User 1 | 12 | |
<tbody> </tbody> | User 2 | 2 | |
<tbody> </tbody> | User 2 | 44 | |
<tbody> </tbody> | User 3 | 12 | |
<tbody> </tbody> | User 3 | 46 | |
<tbody> </tbody> | User 4 | 21 | |
<tbody> </tbody> | User 4 | 4 | |
<tbody> </tbody> | User 5 | 31 | |
<tbody> </tbody> | User 5 | 34 |
<tbody>
</tbody>
I thought about putting the data in a pivot table, then sorting the pivot table so the most recent date is always leftmost, then having another sheet that gets the 2 leftmost values with data, however I feel that's probably quite convoluted and there is an easy way.
The data is transnational and will continue to change daily but I only way the last 3 days for each user.
Does anyone have any suggestions on how to approach this?
Thanks in advance!