How do I COUNTIFS with only certain header criteria and also by date??

LaurenHancy

Board Regular
Joined
Aug 5, 2010
Messages
179
Hi All,

I need your expertise.

I need to count and sum a range of data which only is referenced to the column name. I need to create a timesheet and I want to create an automatic invoice with a few drop downs. This part I think i can do on my own i just need help with the formulas.

So just to be clear I want to count (greater than o), sum if the criteria matches a name and a month in a drop down.

Hope you can help me. Thank you x

DateMonthOliverMonicaPipWilliam
03/01/17Jan6.5539
04/01/17Jan6.5537
05/01/17Jan7539
06/01/17Jan6.5636
09/01/17Jan6.5539
10/01/17Jan6.5536
11/01/17Jan6.5539
12/01/17Jan7536
13/01/17Jan6.5539
16/01/17Jan6.5537
17/01/17Jan6.5539
18/01/17Jan6.5536
19/01/17Jan7539
20/01/17Jan6.5536
23/01/17Jan6.5539
24/01/17Jan6.5036
25/01/17Jan6.5039
26/01/17Jan7037
27/01/17Jan6.5039
30/01/17Jan6.5036
31/01/17Jan6.5039
01/02/17Feb6.5039
02/02/17Feb7037
03/02/17Feb6.5039
06/02/17Feb6.5036
07/02/17Feb6.5039
08/02/17Feb6.5036
09/02/17Feb7039
10/02/17Feb6.5036
13/02/17Feb6.5039
14/02/17Feb6.5037
15/02/17Feb6.5539
16/02/17Feb7036
17/02/17Feb6.5039
20/02/17Feb6.5036
21/02/17Feb6.5539
22/02/17Feb6.5036
23/02/17Feb7039

<!--StartFragment--> <colgroup><col width="65" span="6" style="width:65pt"> </colgroup><tbody>
<!--EndFragment--></tbody>
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
Ok so i have managed to fine a count formula but I am unsure how to add the month into the criteria?

=COUNTIF(INDEX(Sheet1!D5:O264,0,MATCH(I6,Sheet1!D3:O3,0)),">0")


 
Upvote 0
Maybe

=COUNTIFS(Sheet1!C5:C264,"Jan",INDEX(Sheet1!D5:O264,0,MATCH(I6,Sheet1!D3:O3,0)),">0")
 
Last edited:
Upvote 0

Forum statistics

Threads
1,215,455
Messages
6,124,937
Members
449,196
Latest member
Maxkapoor

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