Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
Solved

# convert from Us date format to UK

Posted on 2013-12-17
Medium Priority
643 Views
Hi
I have an excel file which hold a huge data.  some of its rows of the date column in Us format and other in UK. How can make them all in UK format?

The format as following

mm/dd/yyyy  hh:mm:ss      and other like that     dd-mm-yyyy   hh:mm:ss

I need it to be  dd/mm/yyyy   hh:mm:ss
0
Question by:amq10
[X]
###### Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

• Help others & share knowledge
• Earn cash & points
• 5

Author Comment

ID: 39725260
The format as following

mm/dd/yyyy  hh:mm:ss      and other like that     dd-mm-yyyy   hh:mm:ss

I need it to be  dd/mm/yyyy   hh:mm:ss
0

Author Comment

ID: 39725336
Now I can change it using the below formula:

=IF(ISTEXT(A1),REPLACE(MID(A1,4,3)&A1,7,3,"")+0,DATE(YEAR(A1),DAY(A1),MONTH(A1)))

the result

09/12/2013 15:00      12/09/2013 00:00

however, the time doesn't  change
0

LVL 18

Accepted Solution

Alan earned 2000 total points
ID: 39725436
Hi,

I think your formula is okay, but you need to check the formatting on the cell containing the formula.

Format the cell containing the formula using this format:

dd/mm/yy hh:mm

and it should work - at least it does for me!

Alan.
0

Author Comment

ID: 39725447
HI Alan

I have tried now to chabge the format of the formula cell but stell give time like that 00:00:00
!!!!
0

Author Comment

ID: 39725502
Thanks I found did the solution:

I have calculate the formula on the main cell, then calculate the time of the main one using
=Time(hour(main cell), minute(main cell),second(main cell)) and then add the date with time

A: main cell     B:formula(a)   c: time(A)    D: B+C
0

Author Comment

ID: 39727273
I've requested that this question be closed as follows:

Accepted answer: 0 points for amq10's comment #a39725502
Assisted answer: 500 points for Alan3285's comment #a39725436

for the following reason:

the reason in the second comment
0

## Featured Post

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes how you can use Custom Document Properties to store settings and other information in your workbook so that they will be available the next time you open the workbook.
If you need to forecast numbers -- typically for finance -- the Windows and Mac versions of Excel 2016 have a basket of tools to get the job done.
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.
###### Suggested Courses
Course of the Month11 days, 9 hours left to enroll