Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 27
Default problems with formating and concatonating time [hours]

Hello Excellers,

This is my problem:

B2 = 10:00
D1 = 11:00

Formula in D2
=B2 & " - " & D1

Result in D2 shows
0,25 - 0,260416666666667

But it should look like this
10:00 - 11:00

How to tackle this?
Thanks in advance, bret bernever
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,651
Default problems with formating and concatonating time [hours]

On Sun, 6 Jul 2008 20:50:31 +0200, Bret Bernever
wrote:

Hello Excellers,

This is my problem:

B2 = 10:00
D1 = 11:00

Formula in D2
=B2 & " - " & D1

Result in D2 shows
0,25 - 0,260416666666667

But it should look like this
10:00 - 11:00

How to tackle this?
Thanks in advance, bret bernever



=TEXT(B2,"hh:mm") & " - " & TEXT(D1,"hh:mm")
--ron
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 27
Default problems with formating and concatonating time [hours]

In article ,
says...

=TEXT(B2,"hh:mm") & " - " & TEXT(D1,"hh:mm")
--ron



Thanks Ron, did the trick!
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,651
Default problems with formating and concatonating time [hours]

On Sun, 6 Jul 2008 21:38:03 +0200, Bret Bernever
wrote:

In article ,
says...

=TEXT(B2,"hh:mm") & " - " & TEXT(D1,"hh:mm")
--ron



Thanks Ron, did the trick!


Glad to help. Thanks for the feedback.
--ron
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
PROBLEMS WITH FORMATING COLUMNS JTEFUN Excel Discussion (Misc queries) 3 July 3rd 07 09:56 PM
date formating problems Controlfreak Excel Discussion (Misc queries) 1 March 24th 07 09:53 AM
How do add time/hours to get answer in hours if Ans24 Fran Excel Worksheet Functions 2 May 20th 06 05:50 AM
Convert hours and minutes in time format into fractions of hours.. Akern Excel Worksheet Functions 4 April 21st 05 02:56 PM
Formating Hours John Knoke Excel Worksheet Functions 3 March 20th 05 03:57 PM


All times are GMT +1. The time now is 10:57 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"