![]() |
enter month end date
When a user enters a date in A1, I want A2 to give me the last day of the
month from A1. Any ideas? |
I figured it out. thanks to anyone who's already replied!
"tjb" wrote: When a user enters a date in A1, I want A2 to give me the last day of the month from A1. Any ideas? |
Try:
=DATE(YEAR(A1),MONTH(A1)+1,1)-1 -- HTH Sandy Replace@mailinator with @tiscali.co.uk "tjb" wrote in message ... When a user enters a date in A1, I want A2 to give me the last day of the month from A1. Any ideas? |
you can do this
=DATE(YEAR(A1),MONTH(A1)+1,0) -- Regards Ron de Bruin http://www.rondebruin.nl "tjb" wrote in message ... When a user enters a date in A1, I want A2 to give me the last day of the month from A1. Any ideas? |
All times are GMT +1. The time now is 02:51 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com