Excel Add a Date and time together

Posted on 2009-12-21
Last Modified: 2012-06-27
Seems a bit trivial but, I have tried for longer then I care to tell.

I have a date in column A and  a time in column B.  I want to Floor(A) and then add the time from (B).  Example

A                                              B
11/21/2009 07:06:32                8:00:00

End result in COL C =      11/21/2009  08:00:00

tried a bunch of stuff but, there has to be an easier way.

thanks experts

Question by:skillilea
    LVL 59

    Expert Comment

    by:Saurabh Singh Teotia
    Simple use this formula...
    and format that cell as mm/dd/yy hh:mm:ss by going in format cell and then date.
    LVL 59

    Expert Comment

    by:Saurabh Singh Teotia
    on second thoughts use this...

    Author Comment

    I'll try the second one but, my x y scatter graph keeps giving me  row numbers unless it reads an actual date.

    LVL 50

    Expert Comment

    by:barry houdini


    LVL 59

    Expert Comment

    by:Saurabh Singh Teotia
    Row numbers as in i dont understand, can you post your sample file to do what you are looking for.
    LVL 31

    Accepted Solution

    Using FLOOR as in question, use:


    This rounds the date with time down to whole number, same as INT in above solution, and adds the time from B1.


    A                              B             C
    21/11/2009 07:06      08:00      21/11/2009 08:00

    Rob H

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Join & Write a Comment

    Suggested Solutions

    A2 = A1 That kind of cell reference is relative.  If you copy it from A2 to B2, then B2 will get this: B2 = B1 That's all fine and good, but if you then insert a new row above row 2, you'll find: A3 = A1 B3 = B1 This is intentional. …
    Workbook link problems after copying tabs to a new workbook? David Miller (dlmille) Intro Have you either copied sheets to a new workbook, and after having saved and opened that workbook, you find that there are links back to the original sou…
    The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
    This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.

    755 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now