Hi Excel Experts,
In one of the Cell, i have the data as 13/6/2018 2:38 PM. But i want to make this data as 13/06/2018. I entered formula as =DATE(YEAR(A1),MONTH(A1),DAY(A1)). But i am getting the error due to AM and PM available in cell. I removed AM and PM in the cell (using the replace Option) and applied the formula as =DATE(YEAR(A1),MONTH(A1),DAY(A1)). But still not working for the cells which are AM and PM data.
Can you please help.
Thanks.
In one of the Cell, i have the data as 13/6/2018 2:38 PM. But i want to make this data as 13/06/2018. I entered formula as =DATE(YEAR(A1),MONTH(A1),DAY(A1)). But i am getting the error due to AM and PM available in cell. I removed AM and PM in the cell (using the replace Option) and applied the formula as =DATE(YEAR(A1),MONTH(A1),DAY(A1)). But still not working for the cells which are AM and PM data.
Can you please help.
Thanks.