How to set date to first of month in Excel?
If you have a list of random dates, how could you convert them to the first day of these given month as following screenshot shown? This article, I will introduce some simple formulas to solve this task in Excel.
Here are some handy formulas can help you to convert a random date to the first day of the month, please do as follows:
Enter this formula: =EOMONTH(A2,-1)+1 into a blank cell where you want to output the result, and then drag the fill handle down to the cells which you want to apply this formula, and all dates have been converted to the first day of month, see screenshot:
1. Here is another formula also can help you: =DATE(YEAR(A2),MONTH(A2),1).
2. In above formulas, A2 is the date cell that you want to convert.