Excel Concatenate Time

I have had a look at this site, and across the net, but can't seem to solve this, which should be easy! Concatenate should work, but I wasn't able to make it work.

Current spreadsheet looks like this:

B2: 8:00 (AM) (Start time)
C2: 1:00 () (Duration)
D2: 9:00 (AM) (End time)

I would like to have a formula in A2 that looks like this: 8:00 - 9:00, and obviously updates as soon as I make changes to the B2 and C2 (D2 is already working with a formula)

2 Answers

This one is working in LibreOffice, but it seems, that the TEXT function and & operator is adapted from Excel:

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

0
=TEXT(B2,"hh:mm AM/PM")&"-"&TEXT(D2,"hh:mm AM/PM")
=8:00 AM - 9:00 AM
1

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like