generate month end date

Koolfala7

New Member
Joined
Jan 17, 2011
Messages
9
Hi there

I want to create a spreadsheet where if i put a date for eg 21/09/2011 in the next column it tells me 30/09/2011. another eg is if i put 20/08/2011 in the next column it say 31/08/2011.what is the formula for this?the first column will have any date but the next column should generate the month end date.

Please help

Thanks
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
You can use EOMONTH function in Excel 2007 or later

=EOMONTH(A1,0)

where A1 contains a date

In earlier versions of Excel you can still use EOMONTH but it's part of the "Analysis ToolPak" add-in which needs to be enabled....otherwise you can use this version

=DATE(YEAR(A1),MONTH(A1)+1,0)
 
Upvote 0
Excel Workbook
AB
19/21/20119/30/2011
28/20/20118/31/2011
Sheet1
Excel 2007
Cell Formulas
RangeFormula
B1=EOMONTH(A1,0)
B2=EOMONTH(A2,0)
 
Upvote 0

Forum statistics

Threads
1,224,599
Messages
6,179,827
Members
452,946
Latest member
JoseDavid

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