Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 66
Default Time Format differences

I receive a report that provides me a time of say 10:00:00AM. I need this
into a format that Excel recognizes as a time. If I change the format of the
cell to HH:MM:SS AM/PM it doesn't recognize it I'm assuming because the lack
of a space between the actual time and the AM/PM. Is there a way to add the
spaces to all of these sections or to get Excel to recognize this as a time?
Otherwise, I'm hitting the space bar more times than it is worth.

Thanks,
Kyle
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default Time Format differences

You could use Edit/ Replace and change "AM" to " AM"

Another option is a formula such as =--(LEFT(A2,LEN(A2)-2)&" "&RIGHT(A2,2))
and format the result as time.
--
David Biddulph

"Kyle" wrote in message
...
I receive a report that provides me a time of say 10:00:00AM. I need this
into a format that Excel recognizes as a time. If I change the format of
the
cell to HH:MM:SS AM/PM it doesn't recognize it I'm assuming because the
lack
of a space between the actual time and the AM/PM. Is there a way to add
the
spaces to all of these sections or to get Excel to recognize this as a
time?
Otherwise, I'm hitting the space bar more times than it is worth.

Thanks,
Kyle



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,572
Default Time Format differences

Try:

=VALUE(LEFT(A1,8)&" "&RIGHT(A1,2))

OR

=--(LEFT(A1,8)&" "&RIGHT(A1,2))

--

HTH,

RD
================================================== ===
Please keep all correspondence within the Group, so all may benefit!
================================================== ===

"Kyle" wrote in message
...
I receive a report that provides me a time of say 10:00:00AM. I need this
into a format that Excel recognizes as a time. If I change the format of
the
cell to HH:MM:SS AM/PM it doesn't recognize it I'm assuming because the lack
of a space between the actual time and the AM/PM. Is there a way to add the
spaces to all of these sections or to get Excel to recognize this as a time?
Otherwise, I'm hitting the space bar more times than it is worth.

Thanks,
Kyle


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 66
Default Time Format differences

Edit replace. To easy. Thank you very much.

"David Biddulph" wrote:

You could use Edit/ Replace and change "AM" to " AM"

Another option is a formula such as =--(LEFT(A2,LEN(A2)-2)&" "&RIGHT(A2,2))
and format the result as time.
--
David Biddulph

"Kyle" wrote in message
...
I receive a report that provides me a time of say 10:00:00AM. I need this
into a format that Excel recognizes as a time. If I change the format of
the
cell to HH:MM:SS AM/PM it doesn't recognize it I'm assuming because the
lack
of a space between the actual time and the AM/PM. Is there a way to add
the
spaces to all of these sections or to get Excel to recognize this as a
time?
Otherwise, I'm hitting the space bar more times than it is worth.

Thanks,
Kyle




Reply
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
Calculating differences in time. PLs Help Jester Excel Discussion (Misc queries) 3 September 4th 06 12:33 PM
How to go to next day in fomula of Time differences ? Corey Excel Worksheet Functions 1 August 3rd 06 12:12 PM
Time differences in excel Nebuchanezer Excel Worksheet Functions 2 January 6th 06 02:32 PM
time differences in a column 68magnolia71 Excel Worksheet Functions 3 May 9th 05 09:46 PM
time differences in a column 68magnolia71 Excel Worksheet Functions 7 March 31st 05 06:19 PM


All times are GMT +1. The time now is 09:31 AM.

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"