["vba"] Sum 3 days of work per person

montecarlo2012

Well-known Member
Joined
Jan 26, 2011
Messages
984
Office Version
  1. 2010
Platform
  1. Windows
Hi,
I am trying to figure out how to coding a total sales by person, I just upload 3 days info.
what I have now and where :
1599445437628.png

as you see for example Derek total per day, I would like the same for the rest.
I can think about the pseudocode (maybe) like this
VBA Code:
start

On I3:I10 if B2:B33 names match H3:H10 then
Sum(offset , c,d,e,)

On J3:J10 if B2:B33 names match H3:H10 then
Sum(offset , c,d,e,)

On k3:k10 if B2:B33 names match H3:H10 then
Sum(offset , c,d,e,)

End
what I was reading in different website is more or less how to use sum and offset, but honestly I didn't figure out, so here I am. Please give a hand here.
Thanks
 
I did, also for some temporary files, clean dns, etc. everything is fine. thanks
 
Upvote 0

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes

Forum statistics

Threads
1,215,066
Messages
6,122,948
Members
449,095
Latest member
nmaske

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