I need help writing the expression to calculate (sum) a row:
I need:
If โColumn Typeโ = โSales/Invoiceโ [Current Trx Amount] - [Current Trx Amount] (if the โColumn Typeโ is โCredit Memosโ.
Here is what i currently have (It is a TRAIN wreck - I know!!!):
IFS( [Document Type] = โSales / Invoicesโ,
[Current Trx Amount] - IFS( [Document Type] = โCredit Memosโ, [Current Trx Amount])
)
)
Here is the table (example) showing the raw data i need to calculate:
Thanks
Your expressions look valid to me. Of course, I have no idea what youโre trying to accomplish. Please explain what youโre trying to do in plain language.
Sorry, Yes.
So i need to calculate Sum. The sum should take all โSales / Invoiceโ - โCredit Memosโ - for that current time (from date column)
So from this example:
I would need:
0-30 Days (Based on Date): $16,000 - $16,000 = $0
Over 90 Days: $943,252
I want to add:
Both โSales / Invoiceโ and โCredit Memoโ will use the value in โCurrent Trx Amountโ to calculate the expression.
What is โthat current timeโ? How is the โcurrent timeโ determined and/or recognized?
Where did $943,252 come from for over 90 days?
Sales / Invoices should always be additions? Credit memos always subtractions?
What is โthat current timeโ? How is the โcurrent timeโ determined and/or recognized?
This is the column โDocument Dateโ - Always given
Where did $943,252 come from for over 90 days?
This means $943,252 hasnt been paid since over 90 days ago - determined by the column โDocument Dateโ
Sales / Invoices should always be additions? Credit memos always subtractions?
Yes and Yes
None of the columns in your screenshot have names.
Sorry:
the table is VERY large:
I cannot get a snapshot of those rows showing the top columns names
Where will the result be computed and saved?
a VC.
In the same table? Thatโs going to be hugely expensive!
uh oh. Yes i hoped.
Iโm afraid Iโm unwilling to help with this. Your data model is fundamentally flawed and will result in crippling performance problems over time. Iโm not going to contribute to that.
oh no. Do you have suggestions of changing the model?
Do you have suggestions of changing the model?
Steve,
What if i do the calculations in the google sheet instead? I would add more columns (0-30 Days, etcโฆ)?
User | Count |
---|---|
14 | |
11 | |
9 | |
7 | |
4 |