April 10, 201213 yr Newbies Hi everybody, I can´t get a formula to solve my problem, I´ve 3 fields, "Income", "Expenses" and "Total" like in this spreadsheet https://docs.google.com/spreadsheet/...zFvcHNad0dSYXc But i can´t get Filemaker to do the same operation. In the first row "Income" has a value and the "Total" is "Income - Expenses", but in the second row "Total" need to subtract from the previous "Total" and then from "Expenses" Any help?
April 10, 201213 yr Hi! Welcome to FM Forums! What you require is a summary field. You first create a calculation which produces the 'total' per record maybe called cLineTotal, which in your case would be: Income - Expenses Then a summary as: Total of cLineTotal ... and notice the 'running total' checklist at the bottom. :laugh2:
April 10, 201213 yr Try Total = If(Get(RecordNumber) = 1; Income - Expenses; GetNthRecord(Total; Get(RecordNumber)-1) + Income - Expenses)
April 10, 201213 yr Author Newbies What you require is a summary field. Then a summary as: Total of cLineTotal ... and notice the 'running total' checklist at the bottom. Great!!!! This worked like a charm!!!! doughemi, thanks for the formula, with this I know a new way to do it! Thank you both!!
Create an account or sign in to comment