Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
CJ CJ is offline
external usenet poster
 
Posts: 102
Default Convert Time to a Text

Hi,

I need help with a formula. I'm trying to convert a time to text as in the
example below.

Example:
A1= 5:16 PM
B1= 1716

Thanks for any help!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default Convert Time to a Text

=TEXT(A1,"hhmm")

"CJ" wrote:

Hi,

I need help with a formula. I'm trying to convert a time to text as in the
example below.

Example:
A1= 5:16 PM
B1= 1716

Thanks for any help!

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 149
Default Convert Time to a Text

One approach:

=TEXT(HOUR(A1,"00") & TEXT(MINUTE(A1),"00")

HTH,

"CJ" wrote in message
...
Hi,

I need help with a formula. I'm trying to convert a time to text as in
the
example below.

Example:
A1= 5:16 PM
B1= 1716

Thanks for any help!



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
CJ CJ is offline
external usenet poster
 
Posts: 102
Default Convert Time to a Text

Thank you.

"Teethless mama" wrote:

=TEXT(A1,"hhmm")

"CJ" wrote:

Hi,

I need help with a formula. I'm trying to convert a time to text as in the
example below.

Example:
A1= 5:16 PM
B1= 1716

Thanks for any help!

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
Convert Text Time to Excel Time [email protected] Excel Discussion (Misc queries) 5 January 29th 07 04:43 PM
Convert Text to time value Hillheader Excel Discussion (Misc queries) 2 March 2nd 06 08:50 PM
How do I convert text to time Curtis Excel Worksheet Functions 4 February 9th 06 07:30 PM
convert time imported as text to time format for calculations batfish Excel Worksheet Functions 3 October 27th 05 11:24 PM
Convert Text Time to Time Jan Excel Discussion (Misc queries) 1 March 7th 05 06:05 PM


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

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

About Us

"It's about Microsoft Excel"