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

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
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,214,632
Messages
6,120,655
Members
448,975
Latest member
sweeberry

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