ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Date function (https://www.excelbanter.com/excel-discussion-misc-queries/164602-date-function.html)

vito

Date function
 
I need to know if there is a function which will auttomatically return the
first day of the month from a date format "mm/dd/yy"

Peo Sjoblom

Date function
 
With your date in A1


=DATE(YEAR(A1),MONTH(A1),1)


--


Regards,


Peo Sjoblom


"vito" wrote in message
...
I need to know if there is a function which will auttomatically return the
first day of the month from a date format "mm/dd/yy"




Sandy Mann

Date function
 
=A1-DAY(A1)+1

--
HTH

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings


Replace @mailinator.com with @tiscali.co.uk


"vito" wrote in message
...
I need to know if there is a function which will auttomatically return the
first day of the month from a date format "mm/dd/yy"





All times are GMT +1. The time now is 02:25 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com