If after end of month

ozbeachbum

Board Regular
Joined
Jun 3, 2015
Messages
233
Office Version
  1. 2021
Platform
  1. Windows
Hi,
As some months will have 3 payments based on the interval, I am in need of a formula that will give me ZERO if there are only 2 payments in the month or calculate the PAYMENT DATE if there are 3 payments in the month.
Any help greatly appreciated.
July as an example would only have 2 dates, where as October would have 3 dates.
Hope the following makes sense.

AA
AC
AO
AQ
AS
Starting Date​
Interval​
Ist Payment​
2nd Payment​
3rd Payment​
+ Interval​
+ Interval​
AA70​
AC70​
/=AA70​
/=AO70+$AC70​
/=IF(AQ70+$AC70)= [after end of month] ,0, AQ70+$AC70​
Tue 11-Jul-23​
14​
Tue 11-Jul-23​
Tue 25-Jul-23​
0​
 

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN
Pls use EOMONTH

IF(aq70+$ac70>EOMONTH(aq70,0),0,aq70+$ac70)

EOMONTH(AQ70,0)---> end of month of value in AQ70, after 0 months forward
 
Upvote 0
Solution

Forum statistics

Threads
1,223,893
Messages
6,175,239
Members
452,621
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