Text With a Date Calculation in Cell?

jdpro

Board Regular
Joined
May 1, 2016
Messages
88
Office Version
  1. 365
Platform
  1. MacOS
Greetings! 🖐️:)
I would like to calculate a date in a cell with text. What I have tried has not worked, because the date calculation returns the number rather than the date.
I4 has a date entered. If I subtract 60 from I4, I can get a date result. But if I would like to add some text, the date result is the date number rather than the formatted date.
In L6 I put: ="60 DTE: "&I4-60
which results in
60 DTE: 45647.
Is it possible to get the result to format for the date?

Screen Shot 2024-10-01 at 11.54.56 AM.png


Thank you very much!
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
Greetings! 🖐️:)
I would like to calculate a date in a cell with text. What I have tried has not worked, because the date calculation returns the number rather than the date.
I4 has a date entered. If I subtract 60 from I4, I can get a date result. But if I would like to add some text, the date result is the date number rather than the formatted date.
In L6 I put: ="60 DTE: "&I4-60
which results in
60 DTE: 45647.
Is it possible to get the result to format for the date?

View attachment 117547

Thank you very much!
="60 DTE: " & TEXT($I$4-60,"DD/MM/YYYY")
 
Upvote 1
Solution

Forum statistics

Threads
1,224,820
Messages
6,181,162
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