Business Advice and Help Forum for Businesses or Starting a Company in the UK - A1 Business Forums
corner image corner image
Member Box




corner image corner image
Our Advertisers

corner image corner image
Register FAQ Members List Today's Posts Search Today's Posts Mark Forums Read
A1 Business Blog Home
corner image corner image
A1businessforums.co.uk - The UK's Friendliest Online Business Community
Go Back   Business Forum UK - Advice Help and Questions - A1 Forums > Business Forums > IT, Internet, Web Hosting and Communications
Reload this Page

Excel Formula Help please.

For Computers and Software, Servers and Networking, Internet Service Providers, Web Hosts and Telecommunications

Reply
corner image corner image
 
LinkBack Thread Tools Display Modes

corner image corner image
  #1 (permalink)  
Old 04-04-2008, 15:21
boxby's Avatar
boxby boxby is offline
Blog Entry: Citylink Results show hope for Rentokills Parce...
I'm an A1 VIP!
 
Join Date: Mar 2008
Location: Girvan, Ayrshire
Posts: 1,286
Thanks: 115
Thanked 167 Times in 141 Posts
Default Excel Formula Help please.

I have downloaded a csv file from Protx, the date is in the format
29/03/2008 13:18 in column d2


I need to extract the date, in the dd/mm/yyyy format, and leave the time.
Into column e2

I have tried the Left formula
=LEFT(D2,10)

But it returns the answer in number format; 39535.5529

Despite the whole of columns d & e being formated into date, and not general or number, or anything else.

Please help. If I get this sussed I can upload the CSV file into the accounts rather than type the whole bloomin lot in manually!

Many thanks
Sandra

Despite me checking that the column
__________________
Couriers with Full UK Coverage &
Nex day Delivery for £9.99
Fantasy Couriers - Driving Game
Work avoidance plan #301
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookStumble this Post!Google Bookmark this Post!
Reply With Quote
corner image corner image
Sponsored Links

Register to remove these ads
boxby
View Public Profile
Send a private message to boxby
Visit boxby's homepage!
Find all posts by boxby
corner image corner image
  #2 (permalink)  
Old 04-04-2008, 15:30
Maxine's Avatar
Maxine Maxine is offline
A1 is my Second Home!
 
Join Date: Mar 2008
Location: Cambs
Posts: 405
Thanks: 63
Thanked 65 Times in 58 Posts
Have you tried doing Text to columns?
__________________
www.float.ltd.uk www.maxxy.co.uk www.creditcontrolmanager.co.uk
Plastering & Plumbing in Cambridgeshire
Telemarketing & Credit Management too!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookStumble this Post!Google Bookmark this Post!
Reply With Quote
Maxine
View Public Profile
Send a private message to Maxine
Visit Maxine's homepage!
Find all posts by Maxine
corner image corner image
  #3 (permalink)  
Old 04-04-2008, 15:31
Peter W's Avatar
Peter W Peter W is offline
Blog Entry: Capital gains tax on selling a property within ...
A1 is my Second Home!
 
Join Date: Mar 2008
Location: Brighton and Hove
Posts: 303
Thanks: 35
Thanked 91 Times in 80 Posts
In cell e2, enter =INT(d2)
Then format the E column to your preferred format as normal.

Hope this works!
__________________
Brighton and Hove Accountants > Tax returns - Payroll - New businesses - Limited companies

Last edited by Peter W; 04-04-2008 at 15:52. Reason: Corrected 'D column' to 'E column'
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookStumble this Post!Google Bookmark this Post!
Reply With Quote
Peter W
View Public Profile
Send a private message to Peter W
Visit Peter W's homepage!
Find all posts by Peter W
corner image corner image
  #4 (permalink)  
Old 04-04-2008, 15:41
admagic's Avatar
admagic admagic is offline
I Live on A1!
 
Join Date: Mar 2008
Posts: 803
Thanks: 119
Thanked 454 Times in 261 Posts
The problem is the original date is autoconverted into the underlying format

So you need to convert it back...

There may be an easier way but this works...

=DAY(D2)&"/"&MONTH(D2)&"/"&YEAR(D2)

similar for time

BTW

It is far easier and more versatile to do things like this using macro

Last edited by admagic; 04-04-2008 at 15:43.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookStumble this Post!Google Bookmark this Post!
Reply With Quote
admagic
View Public Profile
Send a private message to admagic
Find all posts by admagic
corner image corner image
  #5 (permalink)  
Old 04-04-2008, 15:46
boxby's Avatar
boxby boxby is offline
Blog Entry: Citylink Results show hope for Rentokills Parce...
I'm an A1 VIP!
 
Join Date: Mar 2008
Location: Girvan, Ayrshire
Posts: 1,286
Thanks: 115
Thanked 167 Times in 141 Posts
I've done it! Memory from 10 years ago!!!

It's because the left function works on text, and the downloaded date column was a date column, so i need to put a ' before the date, then it reads it as text, and then it extracts the first 10 letters only!

Blimey, can't believe I remembered that (it's must have been the only useful thing that came out of that job!!)
__________________
Couriers with Full UK Coverage &
Nex day Delivery for £9.99
Fantasy Couriers - Driving Game
Work avoidance plan #301
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookStumble this Post!Google Bookmark this Post!
Reply With Quote
boxby
View Public Profile
Send a private message to boxby
Visit boxby's homepage!
Find all posts by boxby
Reply

« Offshore hosting | Online maps for events »

corner image corner image
Thread Tools
Show Printable Version Show Printable Version
Email this Page Email this Page
Display Modes
Linear Mode Linear Mode
Hybrid Mode Switch to Hybrid Mode
Threaded Mode Switch to Threaded Mode

corner image corner image
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


All times are GMT. The time now is 00:00.


Calendar - Contact Us - A1 Business Forum UK - Archive - Top

© A1 Business Forums 2008

A1 Business Forums is a brand of Pixel Mind Ltd, a company registered in England and Wales with company number 06693709

Pixelcraze
Forum theme a Pixelcraze Creation





LinkBack
LinkBack URL LinkBack URL
About LinkBacks About LinkBacks
Bookmark & Share
Digg this Thread! Digg this Thread!
Add Thread to del.icio.us Add Thread to del.icio.us
Bookmark in Technorati Bookmark in Technorati
Furl this Thread! Furl this Thread!
Share on Facebook Share on Facebook
Stumble this Thread Stumble this Thread
Google Bookmark this Thread Google Bookmark this Thread