Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 138
Default join date & time & add hours

thanks. Got it

"David Biddulph" wrote:

The reason why that wasn't being interpreted as a time was that times want a
space before the AM. It can be converted with
=--(LEFT(B2,LEN(B2)-2)&" "&RIGHT(B2,2))
or for your combination you could use
=A1+(LEFT(B2,LEN(B2)-2)&" "&RIGHT(B2,2))+14/24
--
David Biddulph

"Bruce" wrote in message
...
Thanks David,

The times in B2 are like 2:11am etc. I think they are actually text
because
if I do istext its TRUE. Is there a way to convert this to a real time
value?

Bruce

"David Biddulph" wrote:

What format is your time? If you can change that to an Excel time, then
in
C1 you can use =A1+B2+14/24 or =A1+B2+TIME(14,0,0) If you can define the
format on the text in B2, it can hopefully be converted to a time.
--
David Biddulph

"Bruce" wrote in message
...
I have a column with a date (which is an actual date) and a column with
a
time (which is a text value). I wish to combine these as a signle date
time
value and then add 14 hrs to this.

If my date is in A1 and my time is in B2 then what formula should I use
in
C1?

Bruce






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
How do I add 24 hours to a date and time value formated cell? kknight79558 Excel Discussion (Misc queries) 4 August 20th 07 07:20 PM
How do I join a date and time that are in separate columns? jenn Excel Discussion (Misc queries) 5 May 30th 07 08:14 PM
Time/Date subtract 24 hours ET902 Excel Discussion (Misc queries) 4 September 12th 06 02:47 PM
Date and Time Response- before/during/after Business hours ECLynn Excel Discussion (Misc queries) 1 September 7th 06 06:46 PM
How to Join/concatenate a date field with a time field in Excel? Alan Excel Discussion (Misc queries) 4 August 9th 05 10:07 PM


All times are GMT +1. The time now is 05:20 PM.

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"