Format date as text

  • Thread starter Thread starter Invalid
  • Start date Start date
I

Invalid

I have a spreadsheet with columns of dates and times. I need to combine
them into a common cell. For example, I have columns A and B, and want to
generate C::

A B C
1/1 4:00 1/1-4:00
1/2 4:15 1/2-4:15
1/3 4:25 1/3-4:25

When I use =concatenate(a1,"-",b1) in column C I get:
39083-0.195833333333333
39084-0.196527777777778
39085-0.197222222222222


I've tried TEXT(), but can't figure out what text format string to use. I
also tried formatting column C as Text - didn't work

I've searched this newsgroup and the MS knowledgebase to no avail. Can
anyone help?

Thanks,
Bob
 
Figured it out:

=CONCATENATE(TEXT(B2,"m/d")," - ",TEXT(C2,"h:mm"))

Sheesh!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Scrabble Value calculation for Welsh words 0
Excel Help with dates 2
Sumproduct Help! 2
INDEX MATCH SMALL 12
Sumproduct? 3
Concatenate If 4
separating date and time 5
How to Convert MBOX to PST Online? 3

Back
Top