Looking to find duration at different levels

petersw

New Member
Joined
Sep 22, 2011
Messages
10
Hi,

My data is as follows:

NameDateLevel
John1/1/20151
John1/23/20152
John1/30/20152
John2/5/20153
Bill1/12/20151
Bill1/15/20152

<tbody>
</tbody>

I'm trying to easily see how long each person was at a given level. For example, from the above, I see John was at level 1 for 22 days, at level 2 for 12 days. Bill was at level 1 for 3 days. Ideally I'd like to get this type of information into a format that can be graphed.

I'm thinking a pivot table will come into play, but I'm struggling and thought the brains at MrExcel could help!

Thanks,
Peter
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest

Book1
ABCDEFGH
1NameDateLeveldays
2John1-1-2015122RijlabelsSom van days
3John23-1-201527Bill3
4John30-1-20152613
5John5-2-2015320
6Bill12-1-201513John35
7Bill15-1-20152122
8213
930
10Eindtotaal38
11
Blad1


d2=if(A3=A2,B3-B2,"")
 
Last edited:
Upvote 0

Forum statistics

Threads
1,215,048
Messages
6,122,862
Members
449,097
Latest member
dbomb1414

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