Insert cell value into another cell within a text string

dforce

New Member
Joined
Jul 16, 2024
Messages
5
Office Version
  1. 2011
Platform
  1. MacOS
Hello everybody, I need to add a cell value (a date) into a text string like this example:

Delivery will be made on "Saturday 15 July 2024"

Saturday 15 July 2024 is a value of A5 cell.

I've followed several tutorial about this, it works with numbers but not with dates, but I can't understand where i am going wrong.

Thanks for helping.

I have Excel 2011 on Mac

d-force
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).
Welcome to the MrExcel forum. Please accept my warmest greetings and sincere hope that all is well.

If you literally have the data in A5: "Saturday 15 July 2024 is a value of A5 cell"

Note: July 15, 2024 is "Monday"

In other cell, try this formula:
Excel Formula:
="Delivery will be made on " & A5

_____ __
But if you have a date in cell A5, then try the following formula:
Excel Formula:
="Delivery will be made on " & TEXT(A5, "dddd dd mmmm yyyy")


----- --
Let me know the result and I'll get back to you as soon as I can.
Sincerely
Dante Amor
----- --
 
Last edited:
Upvote 0
Hello DanteAmor, thank you so much, but I've tried this solution, but it still give me an error (see attachment).
This is what I don't understand...
 

Attachments

  • Schermata 2024-07-16 alle 19.40.39.png
    Schermata 2024-07-16 alle 19.40.39.png
    31 KB · Views: 15
Upvote 0
If I add this formula

="Delivery will be made on " &A5

than I get this output

Delivery will be made on 45489
 
Upvote 0
If I add this formula

="Delivery will be made on " &A5

than I get this output

Delivery will be made on 45489
Yep, that means you need to use Dante's second formula:
Excel Formula:
="Delivery will be made on " & TEXT(A5, "dddd dd mmmm yyyy")

Note if your version of Excel uses semi-colons instead of commas as its formula argument separators (depends on your personal regional settings), then your formula will actually need to look like this:
Excel Formula:
="Delivery will be made on " & TEXT(A5; "dddd dd mmmm yyyy")
 
Upvote 0
Hello Dante, if I use this formula
Excel Formula:
="Delivery will be made on " & TEXT(A5, "dddd dd mmmm yyyy")
Than I get the error that the formula is not correct
(see first attachment)

If I use the second formula
Excel Formula:
="Delivery will be made on " & TEXT(A5; "dddd dd mmmm yyyy")
Tham I get the error #NOME
(see second attachment)
 

Attachments

  • Schermata 2024-07-16 alle 19.40.39.png
    Schermata 2024-07-16 alle 19.40.39.png
    31 KB · Views: 12
  • Schermata 2024-07-16 alle 20.17.29.png
    Schermata 2024-07-16 alle 20.17.29.png
    5.3 KB · Views: 15
Upvote 0
If you are using a Spanish version of Excel, you may need to change "Text" to "Texto", as shown here:

So maybe:
Excel Formula:
="Delivery will be made on " & TEXTO(A5; "dddd dd mmmm yyyy")
 
Upvote 0
than I get this output

Delivery will be made on 45489


Sorry for the delay, I was on my lunch break.

If you have your functions in Italian, then use:


Rich (BB code):
="Delivery will be made on " & TESTO(A5; "gggg gg mmmm aaaa")

;)
 
Upvote 0
So maybe:
="Delivery will be made on " & TEXTO(A5; "dddd dd mmmm yyyy")

Hi Joe,
If the case were in Spanish, to obtain the year it must be: "aaaa"

Rich (BB code):
="Delivery will be made on " & TEXTO(A5; "dddd dd mmmm aaaa")
 
Upvote 0
Solution
Thank you Dante! You've made my day! It was because of the language (Italian)!
Thanks a lot!!!!
 
Upvote 0

Forum statistics

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