Forum Discussion
Changing the format of 10,000 dates
Hello, I need help changing the values of these dates from mm/dd/yyyy to dd/mm/yyyy. I have already tried changing the format via the ctrl 1 format cells method. This seems to get new dates in the right format, but I already have ~10k dates that need to be changed. Is there an easy way to do this?
Thanks for the help stranger š
10 Replies
- NikolinoDEGold Contributor
Here is a suggestion with VBA (untested).
Should actually work.
Build a button into the sheet and let it run whenever you want ... is just a suggestion :)).
Sub Datechange() Range("C1:C10000").NumberFormat = "dd/mm/yyyy" End Sub
Hope I was able to help you with this info.
NikolinoDE
Was the answer useful? Mark them as helpful!
This will help all forum participants.
- Juliano-PetrukioBronze Contributor
As was told before, it doesn't change because the regional settings of the computer.
You can change the view on the spreadsheet but if you click on the formula bar the date will be like was setup on regional settings.
- Juliano-PetrukioBronze ContributorSelect the whole column that you want to apply the format and then CTRL+1 and then apply dd/mm/yyyy
- udayan62Copper ContributorWhat about dates prior to the year 1900?
- Juliano-PetrukioBronze Contributor
- jsamodeoCopper Contributor
So that changes how the box appears when hovered over, but it doesn't change the values at the top.
ā
- Could you please make column C a lot wider so we can actually see the date in the cells in your screenshot
Thanks, that will help us answer