Changing date format without adding extra columns

Anonymous
2024-09-15T11:35:09+00:00

I have a large spreadsheet being compiled and sorted using macros. However, the date format is incorrect (see attached). I need the dates to display as 10/09/2024 or 10-Sep-24. How can I change the format using a formula or VBA code without adding an extra column?  ![](https://learn-attachment.microsoft.com/api/attachments/a33ad5d3-0664-4d23-a80c-e9f261f8b597?platform=QnA

Microsoft 365 and Office | Excel | For home | Windows

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
Rich~M 20,370 Reputation points Volunteer Moderator
2024-09-15T13:25:46+00:00

Here is a procedure to re-format the dates that you want to change.

  1. Select all of the dates that need to be changed.
  2. On the Data ribbon in the Data Tools section, select Text to Columns.
  3. In the Convert Text window leave the first screen on Delimited and click Next, and on the second screen leave Tab selected and click Next.
  4. On the third screen choose Date and, in the dropdown, choose DMY. Then click Finish.

That will re-enter the dates as number values and formatted the way you want.

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Anonymous
    2024-09-15T16:26:09+00:00

    Thank you very much Rich~M. You helped my a lot. Very much appreciated

    Was this answer helpful?

    0 comments No comments