Share via

Cells containing dates format incorrectly when used in a formula

Anonymous
2024-04-25T23:00:43+00:00

I have added formulas to an existing Excel spreadsheet to generate emails and it works great except for the dates. One of the cells used in the formulas is formatted to Date but the information in that cell converts back to General in the cells resulting from the formula containing it. You can see in the snip that cell E2 is a date (the entire column is formatted to Date) but the date does not appear as a date in the resulting cells I2 and J2, it appears as the number generated when it is formatted as General instead. I have tried adding DATE(E2) to the formula which results in an error telling me that I’m using too few functions. I am new to Excel and hoping that someone can see my error and tell me how to correct it.

Microsoft 365 and Office | Excel | For business | Other

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

OssieMac 48,001 Reputation points Volunteer Moderator
2024-04-25T23:27:13+00:00

Try the following. If required, edit the date format in the formula to match your required regional date format.

=IF(F2="No","","Action due: " & TEXT(E2,"dd/mm/yyyy"))

Concatenation requires the date to be converted to text in the formula.

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Anonymous
    2024-04-25T23:46:05+00:00

    That worked perfectly, thank you so much!!!

    Was this answer helpful?

    0 comments No comments