Raybus.xlsx | |||||
---|---|---|---|---|---|
A | B | C | |||
1 | Date | Day of Week | |||
2 | 1/4/2021 11:30 | Mon | |||
3 | 1/4/2021 11:30 | Mon | |||
4 | January 4, 2021 11:30 am | Mon | |||
5 | January 4, 2021 11:30 am | Mon | |||
Sheet1 |
Cell Formulas | ||
---|---|---|
Range | Formula | |
C2 | C2 | =TEXT(A2,"ddd") |
C3 | C3 | =TEXT(VALUE(A3),"ddd") |
C4 | C4 | =TEXT(DATEVALUE(A4),"ddd") |
C5 | C5 | =TEXT(DATE(MID(A5,SEARCH(" ",A5,SEARCH(" ",A5)+1)+1,4),MATCH(LEFT(A5,3),{"Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"},0),SUBSTITUTE(MID(A5,SEARCH(" ",A5)+1,2),",","")),"ddd") |
My apologies for not being clear enough yes i am asking how to format a date as a day of the weekWhat does "excel is not recognizing the format" mean? What actually happens?
The cell should have 1/4/2021 11:30 AM as the time/date value shown in the formula box (or 4/1/2021 for non-US). When I put "January 4, 2021 11:30 am" into a cell that is what I get. Then you can format any way you want such as custom format "Ddd".
From your description it is unclear if you have a problem with your data, or if you are asking how to format a date as day-of-week.