In Google Sheets, I have two columns, date and day, when date is entered i want day to be filled automatically,
For example, if you set A1
as 1/12/21
then day cell should change to Wednesday.
How do we do that?
In Google Sheets, I have two columns, date and day, when date is entered i want day to be filled automatically,
For example, if you set A1
as 1/12/21
then day cell should change to Wednesday.
How do we do that?
Use TEXT to convert your date to the desired format, where:
dddd for the full name of the day of the week.
=ARRAYFORMULA(IF(A2:A="",,TEXT(A2:A,"dddd")))
Assuming the dates are in A2:A
, put this formula in B2
:
=ArrayFormula(IF(A2:A="",,DAY(A2:A)))