Date Formula

RLJ

Active Member
Joined
Mar 15, 2011
Messages
417
Office Version
  1. 365
Platform
  1. Windows
I'm stuck on a date formula that will work. I'm building a spreadsheet where the user can enter a date and the spreadsheet will calculate the monthly payment dates. I need help with the below example where the date entered is 7/29/2022 and when it gets to March of 2023, it is picking up the 28th day from the cell right above. I need a formula that will work in tis situation for months with less than 30 days so every month that has in this example has 29 days shows the 29th day of the month and not change to the 28th day after a February month.

Cell Formulas
RangeFormula
F11F11=IF($D$7="Y",F4,D4)
F12:F20F12=IF($A12="","",EDATE(F11,1))


Thank you for your help.
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)

How about in F12 copied down
Excel Formula:
=IF($A12="","",EDATE(F$11,ROWS(F$12:F12)))
 
Upvote 0
Solution
Thank you. It looks like the formula works. Also, I will update my profile. It has been a while since I have asked a question on here.
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,332
Messages
6,124,314
Members
449,153
Latest member
JazzSingerNL

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