I have an Appsheet who consist of two columns, let's both named is Production Date and Expired Date. If column Production Date has 35 months of Expired Date, then how the formula in appsheet to calculated it? Let say the example, Production Date is 01/10/2023, therefore Expired Date is 01/09/2026. I want the formula to consider leap years.
Before that, i have created a formula but it is not worked. There was note "DATE function is used incorrectly."
Does anyone know the formula to solve this problem? Please let me know
Update:
You can utilize EOMONTH() function to consider leap year.
Issue:
The error you have was due to the
DATE
function onAppSheet
having different behavior compared toDATE
formula inGoogle sheet
.Your existing formula does work for google sheet but for AppSheet you can manipulate the date by directly calling Production Date column
You can further read the
Date and time expressions
on AppSheet hereAppSheet Expression:
You can try this AppSheet expression to achieve your desired result
Result:
References:
Date and time expressions
Google Sheet Data function