Solved

convert from Us date format to UK

Posted on 2013-12-17
6
550 Views
Last Modified: 2013-12-18
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
Comment
Question by:amq10
  • 5
6 Comments
 

Author Comment

by:amq10
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

by:amq10
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 12

Accepted Solution

by:
Alan3285 earned 500 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
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 

Author Comment

by:amq10
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

by:amq10
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

by:amq10
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Convert between Excel file formats (.XLS, .XLSX, .XLSM) with/without macro option David Miller (dlmille) Intro Over this past Fall, I've had the opportunity to see several similar requests and have developed a couple related solutions associate…
How to quickly and accurately populate Word documents with Excel data, charts and images (including Automated Bookmark generation) David Miller (dlmille) Synopsis In this article you’ll learn how to use ExcelToWord! to copy data,charts, shapes …
The viewer will learn how to simulate a series of sales calls dependent on a single skill level and learn how to simulate a series of sales calls dependent on two skill levels. Simulating Independent Sales Calls: Enter .75 into cell C2 – “skill leve…
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now