changing text formula?

biglb79

Active Member
Joined
Oct 17, 2007
Messages
303
Office Version
  1. 2019
Platform
  1. Windows
Is there a formula that I can type to change the text July to August? Like I have July in cell E5 and when rolling forward I would want August in D5. Same question with changing AS OF JULY 31, 2017 to AS OF AUGUST 31, 2017.

Thanks in advance
 
I have one last one that I could use help on. I thought I could figure it out on my own from the others, but it's proving to be a challenge.

AS OF JUNE 30, 2017 - YEAR-TO-DATE (is in cell E1) and I want July to be in D1

Thanks!
 
Upvote 0

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).
sorry, my post must have been misleading. I wanted it to say "AS OF JULY 31, 2017 - YEAR-TO-DATE"
 
Upvote 0
sorry, my post must have been misleading. I wanted it to say "AS OF JULY 31, 2017 - YEAR-TO-DATE"
Okay, give this a try...

="AS OF "&UPPER(TEXT(EOMONTH(MID(LEFT(E1,FIND("-",E1)-1),7,99),1),"mmmm d, yyyy"))&" - YEAR-TO-DATE"
 
Upvote 0
I'm trying to record a macro rolling forward our sheets and when I did for August it lists August 30, 2017 for this formula. is there something I can add to ensure it does August 31, September 30, October 31, November 30, etc... moving forward?

="AS OF " & UPPER(TEXT(EDATE(DATEVALUE(SUBSTITUTE(E3,"AS OF ","")),1),"mmmm d, yyyy"))
 
Upvote 0
I'm trying to record a macro rolling forward our sheets and when I did for August it lists August 30, 2017 for this formula. is there something I can add to ensure it does August 31, September 30, October 31, November 30, etc... moving forward?

="AS OF " & UPPER(TEXT(EDATE(DATEVALUE(SUBSTITUTE(E3,"AS OF ","")),1),"mmmm d, yyyy"))
Did you see the formulas I posted in Message #10 yet?
 
Upvote 0
ah ha, sorry. that works perfectly. I must have used the other formula when doing it
 
Upvote 0

Forum statistics

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