LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Help with Loops is my guess

Hi,

I have exported some data into a spreadsheet and the column I am having
difficulty with is the column that shows dates and times e.g. 1/31/2006
01:36:21PM.

Now what I need to do is:
1) take out the time and be left with the date (I have this formula)
=LEFT(A1,LEN(A1)-12)

2) change the date into UK format instead of US format (I have this
formula) =DATE(RIGHT(P8,2)+2000,LEFT(P8,2),MID(P8,4,2))

Both these work, but I needed them to both to work at the same time:

From: 1/31/2006 01:36:21PM.
To: 31/01/2006

Can anyone help. Thanking you in advance.

Kim
x

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
IRR Guess Dkline Excel Worksheet Functions 0 June 13th 07 01:46 PM
Guess my number game for kids. Honey Excel Worksheet Functions 6 April 2nd 07 08:29 PM
Excel Woes - Formula bug (I guess) mikeydread1 Excel Worksheet Functions 3 May 18th 06 04:44 PM
IRR Guess Problem Dkline Excel Worksheet Functions 4 November 7th 05 01:35 PM


All times are GMT +1. The time now is 07:08 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"