PC Review


Reply
Thread Tools Rate Thread

Converting text format of time/date into Excel time/date for subtr

 
 
YY san.
Guest
Posts: n/a
 
      2nd Feb 2010
Hi,
I need some help on date. I have the date and time in text format.
13/01/2010 10:34 AM
13/01/2010 1:56 PM

I need a formula to convert them to excel date/time format so that I can do
subtraction between these dates.

Thank you very much,
YY

 
Reply With Quote
 
 
 
 
Gary''s Student
Guest
Posts: n/a
 
      2nd Feb 2010
=DATEVALUE(LEFT(A1,FIND(" ",A1)-1))+TIMEVALUE(MID(A1,FIND(" ",A1)+1,256))
--
Gary''s Student - gsnu201001


"YY san." wrote:

> Hi,
> I need some help on date. I have the date and time in text format.
> 13/01/2010 10:34 AM
> 13/01/2010 1:56 PM
>
> I need a formula to convert them to excel date/time format so that I can do
> subtraction between these dates.
>
> Thank you very much,
> YY
>

 
Reply With Quote
 
Bernie Deitrick
Guest
Posts: n/a
 
      2nd Feb 2010
YY,

You could try and just use

=A3-A2

or, to be clearer in your formula,

=VALUE(A3)-VALUE(A2)

HTH,
Bernie
MS Excel MVP


"YY san." <(E-Mail Removed)> wrote in message
news:651C711F-44C5-4202-A573-(E-Mail Removed)...
> Hi,
> I need some help on date. I have the date and time in text format.
> 13/01/2010 10:34 AM
> 13/01/2010 1:56 PM
>
> I need a formula to convert them to excel date/time format so that I can
> do
> subtraction between these dates.
>
> Thank you very much,
> YY
>



 
Reply With Quote
 
Anathi Sonqishe
Guest
Posts: n/a
 
      4th Feb 2010
Hi!

Please help me with the formula and how to converte numeric time into words.

Example: employee knock in at 9:00 am and arrives at 8:45 am (and the answer is ontime) or if s/he came in 9:23 am ( answer is late)



YY san. wrote:

Converting text format of time/date into Excel time/date for subtr
02-Feb-10

Hi
I need some help on date. I have the date and time in text format
13/01/2010 10:34 A
13/01/2010 1:56 P

I need a formula to convert them to excel date/time format so that I can d
subtraction between these dates

Thank you very much
YY

Previous Posts In This Thread:


Submitted via EggHeadCafe - Software Developer Portal of Choice
Command Prompt Here with VS.NET Environment
http://www.eggheadcafe.com/tutorials...here-with.aspx
 
Reply With Quote
 
Bernie Deitrick
Guest
Posts: n/a
 
      4th Feb 2010


Anathi,

Somethng like

=IF(B2>A2,"Late","On Time")

Where B2 has the actual arrival time, and A2 has the scheduled arrival time.
This will work if you enter times as AM and PM only, without dates.

HTH,
Bernie
MS Excel MVP



<Anathi Sonqishe> wrote in message
news:(E-Mail Removed)...
> Hi!
>
> Please help me with the formula and how to converte numeric time into
> words.
>
> Example: employee knock in at 9:00 am and arrives at 8:45 am (and the
> answer is ontime) or if s/he came in 9:23 am ( answer is late)
>
>
>
> YY san. wrote:
>
> Converting text format of time/date into Excel time/date for subtr
> 02-Feb-10
>
> Hi,
> I need some help on date. I have the date and time in text format.
> 13/01/2010 10:34 AM
> 13/01/2010 1:56 PM
>
> I need a formula to convert them to excel date/time format so that I can
> do
> subtraction between these dates.
>
> Thank you very much,
> YY
>
> Previous Posts In This Thread:
>
>
> Submitted via EggHeadCafe - Software Developer Portal of Choice
> Command Prompt Here with VS.NET Environment
> http://www.eggheadcafe.com/tutorials...here-with.aspx



 
Reply With Quote
 
Anathi Sonqishe
Guest
Posts: n/a
 
      25th Feb 2010
Hi! Bernie

Im so pleased with help, I also tried to some other tricks
=IF(B3>=E3,"ontime", IF(B3<=E3,"late"))

although if E3 is 0:00 and B3 is 0:00 instead of showing 0:00 it says ontime.

Regards
Anathi



Bernie Deitrick wrote:

Anathi,Somethng like=IF(B2>A2,"Late","On Time")Where B2 has the actual arrival
04-Feb-10

Anathi

Somethng lik

=IF(B2>A2,"Late","On Time"

Where B2 has the actual arrival time, and A2 has the scheduled arrival time
This will work if you enter times as AM and PM only, without dates

HTH
Berni
MS Excel MV


<Anathi Sonqishe> wrote in message

Previous Posts In This Thread:

On Tuesday, February 02, 2010 9:49 AM
YY san. wrote:

Converting text format of time/date into Excel time/date for subtr
Hi
I need some help on date. I have the date and time in text format
13/01/2010 10:34 A
13/01/2010 1:56 P

I need a formula to convert them to excel date/time format so that I can d
subtraction between these dates

Thank you very much
YY

On Tuesday, February 02, 2010 10:09 AM
Gary''s Student wrote:

=DATEVALUE(LEFT(A1,FIND(" ",A1)-1))+TIMEVALUE(MID(A1,FIND("
=DATEVALUE(LEFT(A1,FIND(" ",A1)-1))+TIMEVALUE(MID(A1,FIND(" ",A1)+1,256)
-
Gary''s Student - gsnu20100

"YY san." wrote:

On Tuesday, February 02, 2010 11:08 AM
Bernie Deitrick wrote:

YY,You could try and just use=A3-A2or, to be clearer in your
YY

You could try and just us

=A3-A

or, to be clearer in your formula

=VALUE(A3)-VALUE(A2

HTH
Berni
MS Excel MVP

On Thursday, February 04, 2010 2:11 AM
Anathi Sonqishe wrote:

time to words
Hi!

Please help me with the formula and how to converte numeric time into words.

Example: employee knock in at 9:00 am and arrives at 8:45 am (and the answer is ontime) or if s/he came in 9:23 am ( answer is late)

On Thursday, February 04, 2010 8:21 AM
Bernie Deitrick wrote:

Anathi,Somethng like=IF(B2>A2,"Late","On Time")Where B2 has the actual arrival
Anathi

Somethng lik

=IF(B2>A2,"Late","On Time"

Where B2 has the actual arrival time, and A2 has the scheduled arrival time
This will work if you enter times as AM and PM only, without dates

HTH
Berni
MS Excel MV


<Anathi Sonqishe> wrote in message


Submitted via EggHeadCafe - Software Developer Portal of Choice
EggHeadCafe Chat Chaos in Silverlight Released Today
http://www.eggheadcafe.com/tutorials...-chaos-in.aspx
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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 On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
The same Date / Time field contains time in different format after import from text file Evgeniy Microsoft Access 4 20th Jun 2008 02:04 PM
Converting Date Time Format =?Utf-8?B?QWxvayB5YWRhdg==?= Microsoft ASP .NET 9 10th Oct 2006 08:39 AM
Have excel export cell format other than text; need time and date not number value ogibogi@gmail.com Microsoft Excel Discussion 0 4th Aug 2006 06:48 PM
Excel 2003: Need help converting from text to date/time format please IncomePlanet Microsoft Excel Worksheet Functions 4 29th Jul 2004 07:35 AM
Converting Date Time format to Month YEar format Prashant Sisodia Microsoft Excel Worksheet Functions 1 11th Jun 2004 03:56 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:42 AM.