dbTalk Databases Forums  

trying to make some time out of excel text

comp.databases.ms-access comp.databases.ms-access


Discuss trying to make some time out of excel text in the comp.databases.ms-access forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
sparks
 
Posts: n/a

Default trying to make some time out of excel text - 01-27-2009 , 07:51 AM






I can not say enough about HOW STUPID people are in excel.
I wish this piece of crap had never been invented.
I have spent 3 days converting text junk into usable data.

I am on the last thing a time value.
Of course I have unk, not done, not available and the VERY GOOD
if its pink or red its nite time AHHHHHHHHHHHHHHHHHHH

anyway I am down to this
First time I tried this it ran and all my output data was #ERROR
so I ran it again it says invalid syntax

I thought this was the )
on the end of each line I have Right([time],2)),
I tried moving them to the end
Right([time],2), on each line and then )) at the end but that stops on
=4, TimeSerial <<<< and says unknown

Does any one have any idea how to get this to work? I am stumped


switch( ucase([time])="UNK","",

Len([time])=4,TimeSerial(Left([time],2),Right([time],2)),

Len([time])=3,TimeSerial(Left([time],1),Right([time],2)),

Len([time])=2,TimeSerial(Right([time],2),"00")

)



Reply With Quote
Reply




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.