Changing a start dat

mort1703

Active Member
Joined
Sep 13, 2008
Messages
266
Hi

I am not sure if this is possible, but here goes.

I have a date field containing a date within a month ie. 27 May 2018

Is it possible to move the date to 1st of the following month

Example 1
F25 = 27 May 2018
G25 = 01 June 2018

Example 2
F25 = 12 May 2018
G25 = 01 June 2018

Example 3
F25 = 27 June 2018
G25 = 01 July 2018

Example 4
F25 = 12 July 2018
G25 = 01 August 2018
Example 5
F25 =
01 August 2018
<strike></strike>
G25 = 01 August 2018
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
Hi,

If the original date is already the 1st of the month and you want it to stay the same (as in your Example 5), then just a slight modification to Mark's formula:


Book1
FG
2527-May-181-Jun-18
2612-May-181-Jun-18
2727-Jun-181-Jul-18
2812-Jul-181-Aug-18
291-Aug-181-Aug-18
Sheet12
Cell Formulas
RangeFormula
G25=EOMONTH(F25-1,0)+1
 
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,244
Members
452,622
Latest member
Laura_PinksBTHFT

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