Formula to change the date in a cell based on the date in another cell

BoggleJ

New Member
Joined
Jun 17, 2021
Messages
14
Platform
  1. Windows
I have a drop down list of the 1st of the month for every month from the beginning of this year through 2029. I need a formula that checks what date is in the cell where my drop down is and sets the value of the cell this formula is in to the 1st of the next month and and year if it rolls over like if the drop down contains December 1st of any year. Keep in mind this is not to auto generate several months just always set it to the 1st of the next month.
 

Attachments

  • xl date.JPG
    xl date.JPG
    19.1 KB · Views: 49

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
You can use the EDATE function, i.e.
Excel Formula:
=EDATE(A2,1)
 
Upvote 0
Solution
How about
Excel Formula:
=EDATE(A2,1)
 
Upvote 0
You are welcome.
Glad we were able to help!
 
Upvote 0

Forum statistics

Threads
1,215,440
Messages
6,124,882
Members
449,193
Latest member
PurplePlop

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