Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Combining date and time.

  • 26-08-2013 7:58pm
    #1
    Registered Users, Registered Users 2 Posts: 77 ✭✭


    Hi,

    I have a drop down list I want to incorporate in to a formula. The drop down box in cell H15 will populate AV5 & AW5. I want a formula to combine the date in H13 and the value in cell AV5 and in AW5 in cells AV7 & AW7. Any help greatly appreciated,

    Thanks
    Stephen


Comments

  • Registered Users, Registered Users 2 Posts: 1,093 ✭✭✭KAGY


    Not 100% sure how you want to "combine" the data. There may be a simpler way of doing things.

    Date and time in excel are handled by considering the date a number of days from 1901? and the time as a decimal (e.g. 0.5 is 12 noon). as your look up is returning a time you could just add them together.

    If you want them formatted you could use string concatenation "&"

    e.g. =H15&" on the " & TEXT(H13,"dd mmm yyyy")


  • Registered Users, Registered Users 2 Posts: 277 ✭✭invaderzimirl


    this should work =H13+AV5 but have your cells formatted as custom and dd/mm/yyyy hh:mm as you can see from my snip

    change to dd/mm/yyyy hh:mm:ss if you wnt seconds also

    dont worry about the number below i was trying another method but it did not work ;)


  • Registered Users, Registered Users 2 Posts: 77 ✭✭Ste1605


    Thanks for the help guys problem is now solved.


  • Registered Users, Registered Users 2 Posts: 277 ✭✭invaderzimirl


    but just for others who might search and find this can you post result ? just formula


Advertisement