Next payment date

MEC
Bronze 4
Bronze 4

Hi,

I have the below spreadsheet formula

=WORKDAY(sum(IFS(N29=โ€œDailyโ€,IF(WEEKDAY(Q29,2)=5,Q29+3,Q29+1),N29=โ€œWeeklyโ€,Q29+7,N29=โ€œTrimonthlyโ€,Q29+10,N29=โ€œBimonthlyโ€,Q29+14,N29=โ€œMonthlyโ€,IFERROR(IF(EDATE(Q29,1)=index(Holidays!B:B,match(EDATE(Q29,1),Holidays!B:B,0)),EDATE(Q29,1)+1,EDATE(Q29,1)),EDATE(Q29,1))),-1),1,filter(Holidays!$B$2:$B1028,Holidays!$B$2:$B1028<>""))

Basically, what it does is, it returns the starting payment date of a loan based on the loanโ€™s payment interval. The below is an example.
3X_9_9_996d4b8f7232c775bcfc6ab86fd50f5b16a71ac7.png

My problem is, i have to drag down the formula manually coz appsheet returns an error like the last row in the photo. Any help would be appreciated!

Thanks.

0 5 206
5 REPLIES 5

May I humbly ask why do you need the Spreadsheet formula? Why donโ€™t you perform the same with the AppFormula directly in the app?

To be honest, Iโ€™m still in the process of learning the appsheet formulas and donโ€™t know how to directly transform it to an Appsheet formula. Any help would be appreciated.

Need to know your spreadsheet and table structure so that we can understand which column values you are reading with that formula and whatโ€™s the dependency. Then we can propose something.

Hi @LeventK. I have managed to do it. Thank you.

Youโ€™re welcome

Top Labels in this Space