sumif and moving date ranges

jontyoc

Board Regular
Joined
Sep 3, 2012
Messages
52
Hi All

Hoping I can explain this fully and someone can help me.
I have a weekly report that I use to sum up the hours agents work to report back to them. The amount of agents has since doubled and I can no longer manually check.
What I want to do is sum the hours the agents work from the report and give it in a weekly format:

Sheet 1 shows the agents name and their running weekly totals. This is where the formula will be.
Sheet 2 will be the raw data and will run from 4/1/16 to 31/12 eventually.

I was thinking =SUMIF(Sheet2!a$3:m53,A5,Sheet2!b$3:f$53)
but instead of summing 3 lots of 8.5 to give 25.5 this gives me 7.5!

4/1 5/1 6/1 7/1 8/1 11/1 12/1
Abby 8.5 0 8.5 0 8.5 8.5 7.5
Brian 0 8.5 0 8.5 8.5 7.5 8.5

Sorry I couldn't upload the table as at work at the moment and our firewall is a pain!

What I want it to do is sum each Monday - Friday date and give me a final figure on sheet 1.

What am I doing wrong or can you put me right please?

Thanks.
 

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
Have you tried using a Pivot table for this?
 
Upvote 0
The raw data comes from a pivot table in days but I need to send email out with weekly hours worked.
So need to sum it to get correct information.
 
Upvote 0

Forum statistics

Threads
1,214,583
Messages
6,120,377
Members
448,955
Latest member
BatCoder

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