Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11
Default Concatenate/Text Functions

I wrote the following formula to attempt to convert decimal values in two
separate cells to a h:mm format in one cell:
=CONCATENATE(TEXT(B7/24,"h:mm")," - ",TEXT(C7/24,"h:mm"))

Cell B7 has a value of .29... and cell c7 has a value of .66. The formula
produced the following result: "0:17 - 0:40". This is exactly the format I
was looking for but the value I was looking for was " 7:00 PM - 4:00 PM".
What am I doing wrong? Any feedback would be very much appreciated. Thanks.

--
Brian
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Concatenate/Text Functions

See response in worksheet.functions

--

HTH

RP
(remove nothere from the email address if mailing direct)


"brianwakin" wrote in message
...
I wrote the following formula to attempt to convert decimal values in two
separate cells to a h:mm format in one cell:
=CONCATENATE(TEXT(B7/24,"h:mm")," - ",TEXT(C7/24,"h:mm"))

Cell B7 has a value of .29... and cell c7 has a value of .66. The formula
produced the following result: "0:17 - 0:40". This is exactly the format

I
was looking for but the value I was looking for was " 7:00 PM - 4:00 PM".
What am I doing wrong? Any feedback would be very much appreciated.

Thanks.

--
Brian



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
TEXT & DATES & CONCATENATE Finance Guru Excel Discussion (Misc queries) 1 May 28th 09 04:59 PM
How to concatenate cell & text in a text box? Jimbo213 Excel Worksheet Functions 3 March 28th 08 09:00 PM
concatenate and hyperlink functions Dave F Excel Worksheet Functions 0 August 14th 06 07:28 PM
Using Concatenate function to generate text in Text Box Mary S. Charts and Charting in Excel 1 December 14th 05 08:55 PM
Concatenate/Time Functions brianwakin Excel Worksheet Functions 2 September 1st 05 07:25 PM


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

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"