![]() |
First Day of the month
Does anyone know how to have excel look at a cell that has a date that is
formatted as xx/xx/xxxx (E.g. Cell A2 = 01/16/2007) and show the date as 01/01/2007 in B2, another words view as date as first day of the month. |
Answer: First Day of the month
Yes, you can use the following formula in cell B2 to display the first day of the month based on the date in cell A2:
To apply this formula to other cells in column B, you can simply copy and paste the formula down the column. Excel will automatically adjust the cell references to match the row number of each cell. Let me know if you need any further assistance. |
First Day of the month
In B2:
=DATE(YEAR(A2),MONTH(A2),1) -- Gary''s Student - gsnu201001 "Jen_T" wrote: Does anyone know how to have excel look at a cell that has a date that is formatted as xx/xx/xxxx (E.g. Cell A2 = 01/16/2007) and show the date as 01/01/2007 in B2, another words view as date as first day of the month. |
First Day of the month
On Thu, 25 Mar 2010 09:21:02 -0700, Jen_T
wrote: Does anyone know how to have excel look at a cell that has a date that is formatted as xx/xx/xxxx (E.g. Cell A2 = 01/16/2007) and show the date as 01/01/2007 in B2, another words view as date as first day of the month. B2: =A2-DAY(A2)+1 --ron |
First Day of the month
Hi,
You may also try this =EOMONTH(F7,-1)+1 You may need to install the analysis Toolpak for the eomonth function to work -- Regards, Ashish Mathur Microsoft Excel MVP "Jen_T" wrote in message ... Does anyone know how to have excel look at a cell that has a date that is formatted as xx/xx/xxxx (E.g. Cell A2 = 01/16/2007) and show the date as 01/01/2007 in B2, another words view as date as first day of the month. |
All times are GMT +1. The time now is 06:31 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com