Datatellsall2
New Member
- Joined
- Jul 17, 2018
- Messages
- 23
Hello -
I'm looking to calculate cumulative totals and percentages based on the type of data in column A (unique company code identifier) and column B (date of time entry). My time data is in column C (formatted as an integer). I would only like to calculate the cumulative total & % if the row data agrees to the unique identifier. I have roughly 5000 lines of data. Should I be utilizing a mix of Vlookup and Sum functions here?
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Unique Identifier[/TD]
[TD]Date[/TD]
[TD]Time Amount (hrs)[/TD]
[TD]Cumulative Total[/TD]
[TD]Cumulative %[/TD]
[/TR]
[TR]
[TD]100[/TD]
[TD]1/1/18[/TD]
[TD]3[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]100[/TD]
[TD]1/2/18[/TD]
[TD]4[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]100[/TD]
[TD]1/5/18[/TD]
[TD]5[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]101[/TD]
[TD]1/1/18[/TD]
[TD]2[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]101[/TD]
[TD]1/9/18[/TD]
[TD]3[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]105[/TD]
[TD]1/21/18[/TD]
[TD]10[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]105[/TD]
[TD]1/22/18[/TD]
[TD]8[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Any help would be greatly appreciated.
Thanks,
M
I'm looking to calculate cumulative totals and percentages based on the type of data in column A (unique company code identifier) and column B (date of time entry). My time data is in column C (formatted as an integer). I would only like to calculate the cumulative total & % if the row data agrees to the unique identifier. I have roughly 5000 lines of data. Should I be utilizing a mix of Vlookup and Sum functions here?
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Unique Identifier[/TD]
[TD]Date[/TD]
[TD]Time Amount (hrs)[/TD]
[TD]Cumulative Total[/TD]
[TD]Cumulative %[/TD]
[/TR]
[TR]
[TD]100[/TD]
[TD]1/1/18[/TD]
[TD]3[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]100[/TD]
[TD]1/2/18[/TD]
[TD]4[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]100[/TD]
[TD]1/5/18[/TD]
[TD]5[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]101[/TD]
[TD]1/1/18[/TD]
[TD]2[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]101[/TD]
[TD]1/9/18[/TD]
[TD]3[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]105[/TD]
[TD]1/21/18[/TD]
[TD]10[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]105[/TD]
[TD]1/22/18[/TD]
[TD]8[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Any help would be greatly appreciated.
Thanks,
M