COUNTIFS Dates

JCSR0000

New Member
Joined
Mar 13, 2013
Messages
9
I'm trying to generate a report showing criteria of a Breakdown for each week.
I want to count the number for each 7 day period with multiple criteria. I want it to only count thats weeks data.

WE</SPAN>Total</SPAN></SPAN></SPAN></SPAN>
April 6, 2013</SPAN>22</SPAN>
April 13, 2013</SPAN>7</SPAN>
April 20, 2013</SPAN>13</SPAN>
April 27, 2013</SPAN>0</SPAN>

<TBODY>
</TBODY><COLGROUP><COL><COL><COL span=3></COLGROUP>
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
Hi,

In the absence of any sample data or range information provided, is this what you want to achieve?...

Excel Workbook
ABCDEFGH
1DateWETotalRow LabelsCount of Date
201/04/201306/04/2013631/03/2013 - 06/04/20136
302/04/201313/04/2013707/04/2013 - 13/04/20137
403/04/201320/04/2013414/04/2013 - 18/04/20134
504/04/201327/04/20130Grand Total17
605/04/2013
706/04/2013
807/04/2013
908/04/2013
1009/04/2013
1110/04/2013
1211/04/2013
1312/04/2013
1413/04/2013
1514/04/2013
1615/04/2013
1716/04/2013
1817/04/2013
19
Sheet1


The formula in C2 need to be copied down and the cell references changed to suit your layout.
Alternatively, you could use a Pivot Table (F1:G5) and Group your data by 7 days.
To create a Pivot Table, select A2, press ALT N V T, click Existing Worksheet, click in the white box, click cell F1, click OK.
Drag Date to the Row Field, Drag Date to Values Field.
Click the first line, click Group Field on the Options Tab, change the Start date to 31/03/2013, click Days and change Number of days to 7, click OK.

I hope that helps.

Ak
 
Upvote 0
Hi,

"The formula in C2 need to be copied down and the cell references changed to suit your layout."

That should be, the formula in D2! Duh!!

Ak
 
Upvote 0

Forum statistics

Threads
1,214,919
Messages
6,122,260
Members
449,075
Latest member
staticfluids

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