Insert cell date into a sentence.

wkirkcrawford

Board Regular
Joined
Dec 7, 2013
Messages
72
Greetings,

I'm trying to put a cell date into a sentence.
But when I do, it isn't in date format.
="Blood Sugar Log From "&H15

Any ideas?
Thanks for you time and effort.

W. Kirk Crawford
Tularosa, New Mexico
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
Use the TEXT function to format the date the way you want it to look. For example...

="Blood Sugar Log From "&TEXT(H15,"m/d/yyyy")
 
Upvote 0
use the TEXT() function.

Type the following formula:

="Blood Sugar Log From "&TEXT(H15,Here goes the format)

replace here goes the format with: "mm/dd/yyyy" to get 04/02/2018

you need the double quotes to surround the custom format.

if you have a specific way u want to show the date, you can reply. (eg. if u needed: "Mon, April 2, 2018" etc.)
 
Upvote 0
Guys,

Thank you so very much. I've got to keep that formating in the back of my head.

Thank you guys for your answers. You're life savers.

Thank you for your time and answers.

W. Kirk Crawford
Tularosa, New Mexico
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,178
Members
453,021
Latest member
Justyna P

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