Identifying and then counting month ends in a column

Red over White

Board Regular
Joined
Jul 16, 2011
Messages
132
Office Version
  1. 365
Platform
  1. MacOS
I have a series of dates in a column, and I want to identify which of these dates are 'month's end' date. I have included an image of what I am working with.

The dates in column A come from another sheet, and the dates in column B simply record the latest date in column A. There is only one month end date is a series of dates for a particular month.

I have been trying to come up with a formula that I can put in column C. The formula should identify and dates in column A that are 'month end dates' and then put '1' in column C, and if the date isn't one then an '0' instead. I will update the formula so that it starts to count the number in the range, and as count increases it then will act as a prompt to another column.

Thanks
 

Attachments

  • Screenshot 2024-11-28 at 16.19.57.png
    Screenshot 2024-11-28 at 16.19.57.png
    48.4 KB · Views: 8

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
Thanks Skyybot

Could you extend your version so that it includes the date 12/31/2024 in column A with zeroes between that date and 11/30/24. When I extend the formula to the year end date there is no change, it stays at 1.
 
Upvote 0
Thanks Skyybot

Could you extend your version so that it includes the date 12/31/2024 in column A with zeroes between that date and 11/30/24. When I extend the formula to the year end date there is no change, it stays at 1.
Sorted it, =IF(EOMONTH(A3166,0)=A3166,C3165+1,C3165). Thanks again for your help
 
Upvote 0
Solution

Forum statistics

Threads
1,224,311
Messages
6,177,810
Members
452,806
Latest member
Workerl3ee

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