How can i formulate these columns?

[Overdue] - Start compounding at the 7th month overdue.
[Interest]- Add 2% at the 7th month overdue.

3X_6_a_6a6faf623c20f6e1452a4d25d1661cb11b6722eb.png

0 6 103
6 REPLIES 6

Aurelien
Google Developer Expert
Google Developer Expert

Hi @Audit_CKGoC

I’m not at ease with Interest calculation, and I think I’m not the only one in this situation

Can you share the expression stored in the yellow column ?

its [overdue] times [interest]

OK, but I think some informations are missing.
You may want to use a combination with EOMONTH(): this requires having a date somewhere.

Can you be more explicit about your questions ?
Also, I suggest you have a look there:

You would need to have the date that this item was due in order to do this.
An expression you could use is taking the interest column and using what the above post states about the EOMONTH() function. Write an expression saying that IF(today()>=EOMONTH([Overduedate],6)+1,[_THISROWBEFORE].[Interest]+2=[_THISROWAFTER].[Interest],0)
And his would go in the formula field for the interest column.
Something very similar to that ought to work for you. I recommend looking into _THISROWBEFORE and _THISROWAFTER for further help.

Craig
QREW Technologies

This Row Before and After

Thank you for the idea. But can you help to fix this?
3X_a_5_a59e5a9ecf288bd8da2c49a7d85369d3eb6b21a2.png

It’s quite a small image there, but I think you have the following:

IF(
  TODAY() >= EOMONTH([date_for_payment], 6) +1,
  [_THISROW_BEFORE].[interest] + 2 = [_THISROW_AFTER].[interest],
  0
)

The problem with this expression is that it appears you are trying to assign a value within the IF statement, specifically the equals sign in this is wrong:
[_THISROW_BEFORE].[interest] + 2 = [_THISROW_AFTER].[interest]

Check the syntax for the if() function
https://help.appsheet.com/en/articles/2355953-if

Top Labels in this Space