Text and date in Same cell

davids4500

New Member
Joined
Jan 14, 2023
Messages
44
Office Version
  1. 365
Platform
  1. Windows
I want to add the text in B9, "Last Years Sales" and in the same cell give the date in cell B4 which is Sept 2024 so that is shows as Sept 2023
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
Assuming you mean add the text in B9 to the date in cell B4 which is Sept 2024 so that is shows as Sept 2024:
SpeedTest.xlsm
BCD
4Sep 2024Last Years Sales Sep 2024
5
6
7
8
9Last Years Sales
Sheet2
Cell Formulas
RangeFormula
B4B4=DATE(2024,9,1)
D4D4=B9&" "&TEXT(B4,"mmm yyyy")
 
Upvote 0
Assuming you mean add the text in B9 to the date in cell B4 which is Sept 2024 so that is shows as Sept 2024:
I want to add the text in B9, "Last Years Sales" and in the same cell give the date in cell B4 which is Sept 2024 so that is shows as Sept 2023
Let me write this again...I want to add to the text in B9, which is "Last Years Sales" and in the same cell insert the date that is in cell B4 (which is Sept 2024) so that is shows as Last Years Sales Sept 2023... (Note the date of the previous year)

 
Upvote 0
Try change to:

Excel Formula:
=B9&" "&TEXT(EDATE(B4,-12),"mmm yyyy")
 
Upvote 0
Solution

Forum statistics

Threads
1,224,823
Messages
6,181,180
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