Month Count in a given year

exalex

New Member
Joined
Nov 1, 2017
Messages
24
Hello! How I am trying to figure out how to get a count per year - what formula would I use to get the answers that are in row E3 and F3?

[TABLE="width: 498"]
<tbody>[TR]
[TD="align: right"]1[/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[TD]F[/TD]
[/TR]
[TR]
[TD="align: right"]2[/TD]
[TD]beginning[/TD]
[TD]end[/TD]
[TD]Year[/TD]
[TD]Year[/TD]
[TD]Count[/TD]
[TD]Count[/TD]
[/TR]
[TR]
[TD="align: right"]3[/TD]
[TD]11/1/2017[/TD]
[TD]10/31/2018[/TD]
[TD="align: right"]2017[/TD]
[TD="align: right"]2018[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]10[/TD]
[/TR]
[TR]
[TD="align: right"]4[/TD]
[TD]11/1/2018[/TD]
[TD]10/31/2019[/TD]
[TD="align: right"]2018[/TD]
[TD="align: right"]2019[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]5[/TD]
[TD]11/1/2019[/TD]
[TD]10/31/2020[/TD]
[TD="align: right"]2019[/TD]
[TD="align: right"]2020[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]6[/TD]
[TD]11/1/2020[/TD]
[TD]10/31/2021[/TD]
[TD="align: right"]2020[/TD]
[TD="align: right"]2021[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]7[/TD]
[TD]11/1/2021[/TD]
[TD]10/31/2022[/TD]
[TD="align: right"]2021[/TD]
[TD="align: right"]2022[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]8[/TD]
[TD]11/1/2022[/TD]
[TD]10/31/2023[/TD]
[TD="align: right"]2022[/TD]
[TD="align: right"]2023[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody><colgroup><col><col span="2"><col span="4"></colgroup>[/TABLE]
 

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".
Perhaps:

In E2: =13-MONTH(A2)
In F2: =MONTH(B2)


Excel 2010
ABCDEF
1beginningendYearYearCountCount
211/1/201710/31/201820172018210
311/1/201810/31/201920182019210
411/1/201910/31/202020192020210
511/1/202010/31/202120202021210
611/1/202110/31/202220212022210
711/1/202210/31/202320222023210
Sheet1
Cell Formulas
RangeFormula
E2=13-MONTH(A2)
E3=13-MONTH(A3)
E4=13-MONTH(A4)
E5=13-MONTH(A5)
E6=13-MONTH(A6)
E7=13-MONTH(A7)
F2=MONTH(B2)
F3=MONTH(B3)
F4=MONTH(B4)
F5=MONTH(B5)
F6=MONTH(B6)
F7=MONTH(B7)
 
Upvote 0

Forum statistics

Threads
1,223,908
Messages
6,175,306
Members
452,633
Latest member
DougMo

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