Add time to a sentence

csilabgirl

Active Member
Joined
Aug 14, 2009
Messages
359
I have in cell M1 a time, "2:00 pm". In cell M2 I want it to say "Your appointment is at 2:00 pm". so in M2 I put

="Your Appointment is at "&M1.

But I get "Your appointment is at 14:00"

How do I get it to do what I want?

Thanks for the help!
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
I'm not sure how your cell M1 is formated.

If formated as Text, and you type in all entries (2 : 0 0 pm) it will give you what you want.
 
Upvote 0
I have in cell M1 a time, "2:00 pm". In cell M2 I want it to say "Your appointment is at 2:00 pm". so in M2 I put

="Your Appointment is at "&M1.

But I get "Your appointment is at 14:00"

How do I get it to do what I want?

Thanks for the help!
Try it like this...

="Your Appointment is at "&TEXT(M1,"h:mm AM/PM")
 
Upvote 0

Forum statistics

Threads
1,224,582
Messages
6,179,670
Members
452,936
Latest member
anamikabhargaw

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top