Date Ranges and IF Statements

wizpeter

New Member
Joined
Nov 17, 2015
Messages
1
Hi,

I've been banging my head against a wall with this and I'm reaching out to the internet for some wisdom and help.

I have a basic spreadsheet that shows a request for the cover of hours which is then either then picked up by Group 1, Group 2 or Group 3.

What I need to do is show in the report a summary of the requests for hours cover in each four weekly period along with the hours that are/were outstanding. I originally tried a pivot table which I can do for a single date range but I understand it isn't possible to show multiple date ranges in one pivot table, the use of multiple pivot tables isn't practical as I have a number of areas that I need to duplicate the below for.

I've tried COUNTIFS and IF statements referencing the date periods in column A and B but I just can't get it to work.

Glad to be here and looking to learn.

Report

ABCDEFGHIJ
1PeriodGroup 1Group 2Group 3Outstanding
2StartEndCoverHoursCoverHoursCoverHoursCoverHours
305/04/1502/05/15COUNT of Group 1 in date rangeSUM of Group 1 hours in date range COUNT of cover not assigned to any Group in date rangeSUM of hours not assigned to any Group hours in date range
403/05/1530/05/15
531/05/1527/06/15
628/06/1525/07/15
726/07/1522/08/15
823/08/1519/09/15
920/09/1517/10/15
1018/10/1514/11/15
1115/11/1512/12/15
1213/12/1509/01/16
1310/01/1606/02/16
1407/02/1605/03/16
1506/03/1602/04/16

<colgroup><col width="86"><col width="86"><col width="86"><col width="86"><col width="86"><col width="86"><col width="86"><col width="86"><col width="86"><col width="111"><col width="114"></colgroup> <tbody>
</tbody>

Data

ABCDEF
1Date Request ReceivedStaff Member RequestingUnique Request IDWeekly Hours Cover RequiredGroup CoveringCover Provided By
2e.g. 05/04/2015e.g RHe.g 123456e.g 10.5e.g Group 1e.g Unit 1

<colgroup><col width="86"><col width="86"><col width="86"><col width="86"><col width="86"><col width="86"><col width="86"></colgroup> <tbody>
</tbody>
 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.

Forum statistics

Threads
1,215,427
Messages
6,124,830
Members
449,190
Latest member
rscraig11

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