Formula to calculate total amount in any format
Formula to calculate total amount in any format
The formula should work for all entries in column amount 2, no matter their size.
In cell e7 of the "daily" sheet, when a number is entered with thousands separated (like '1.000.00'), the current formula causes an error.
You need a formula that handles this formatting correctly, even with amounts like '1.000.00'.
Please let me know if you need further clarification.
the input is formatted as text only, so numbers appear as dots instead of amounts. this happens because google sheet interprets the dots as time markers rather than numerical values.
Enter ALL numbers without periods commas quotes or any other extraneous characters
I resolve the issue using this formula
=arrayformula( ifs( VAL.VUOTO(L5:L); SE.ERRORE(1/0); VAL.SSIZE(L5:L); VAL.VALORE(L5:L); VAL.NUMERO(SE.ERRORE(VALORE(SOSTITUISCI(regexreplace(L5:L; "\.(\d\d)$"; ",$1"); "."; "")))); VAL.VALORE(SOSTITUISCI(regexreplace(L5:L; "\.(\d\d)$"; ",$1"); "."; "")); VERO; L5:L ) )