Date formula needed

Victoria1

New Member
Joined
Jul 16, 2013
Messages
3
Hi All,

I'm struggling with a formula.

I have 2 date fields:

Cell D1 - 10/1/19
Cell E1 - 11/1/19

On another tab in the workbook (Summary) I have Months listed in column A;
January
February
March
etc. through December

I'd like to be able to allocate a "1" to the Summary tab, Column B counting each time a date falls within that month.

For example:
Cell D1 - 10/1/19
Cell D2 - 11/1/19

Cell E1 - 11/1/19
Cell E2 - 12/15/19

Summary Tab would display
October - 1
November - 2
December - 1

Any ideas on the formula I can utilize? I'm thinking it's an IF(AND( but can't get there.

Thanks in advance!
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
Hi,

As long as January is located in A1, February in A2, etc ...

In your sheet ' Summary ', in cell B10, you can following Array Formula:

Code:
=SUM(IF(MONTH(Sheet1!$D$1:$E$2)=ROW(),1,0))

to be copied to all other rows ...

Hope this will help
 
Upvote 0

Forum statistics

Threads
1,224,827
Messages
6,181,197
Members
453,021
Latest member
pingpong7117

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