montecarlo2012
Well-known Member
- Joined
- Jan 26, 2011
- Messages
- 986
- Office Version
- 2010
- Platform
- 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 :
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
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 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 :
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
Thanks