Combined Month, Year and a text

anneb_87

Board Regular
Joined
Jun 13, 2018
Messages
84
Good Day Experts! I am combining the Month, Year and a text I am having an error

Formula I used: =TEXT(MONTH(D3),"MMMM")&" "&YEAR(D3)&" Update"

Written in D3: March 2021 or 03/01/2021

Expected Output: March 2021 Update
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
You should not use the MONTH function inside the TEXT function... you want the physical date there and TEXT will parse it for you. Your modified formula should be...
Excel Formula:
=TEXT(D3,"MMMM")&" "&YEAR(D3)&" Update"
But since TEXT can parse dates, you can get it to give you both the month and year at the same time. Hence, your formula can be shortened to this...
Excel Formula:
=TEXT(D3,"MMMM YYYY")&" Update"
 
Upvote 0

Forum statistics

Threads
1,215,436
Messages
6,124,869
Members
449,192
Latest member
MoonDancer

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