May 08 2019 01:21 AM
Thank you in advance.
Simply, Have an invoice tracking spreadsheet that is returning incorrect numbers.
Let's say column A is what is due, column B is what is paid and I need column C to provide what is still due. Problem is, sometimes we are given part payments which returns a false answer.
The current formula Calculates A as $5000, B as $3000 (part payment) and C as $0.00 were it should be $2000 is still due.
Obviously this is simplified, there are several columns summing similar numbers then charting the answer.
May 08 2019 03:10 AM
May 08 2019 01:46 PM
Sorry, I have simplified it to much. Actual formula =SUMIF(O2:O385,"<>",H2:H386) goes not help me if a part payment is received.
Column H is wages due. Columns F and G are the same but I calculate them separately (only way I know).
Column O is for payments received.
I will make sure any future questions are detailed.
May 08 2019 02:57 PM
@Old_School Could you post a small data sample (not 300 rows, just 10) and put in the expected results manually? It's hard to visualise what you want to achieve.
May 08 2019 03:30 PM
Column F Wage 1
Column G Wage 2
Column H Wage 3
Column I Total Wages
Column J Net amount
Column K Tax
Column L Total
Column M Payment date
Column N Amount paid
Column O Amount outstanding
I am trying to calculate how much is due to each person (columns F,G,H). If Column O is zero, then I do not want to calculate wages as they are already paid. Secondly, sometimes a part payment is made and it throws the calculations out. Ideally, If $10000 is due and $2000 is paid, then the $2000 would be divided equally reducing the amount due in wages.
Not a good start to my first question and I do apologise.
May 08 2019 03:34 PM
@Old_School Again, can you post a data sample? I mean a few rows of data with numbers and the expected result as a number as well. You can attach an Excel workbook when you post a reply. There is a "Choose Files" button below the reply text box.
May 08 2019 05:13 PM
@Old_School I used my moderator powers to delete your last post and the attached file. The file clearly contained personal, confidential information that you don't want publicly available.
Again, please post a small data sample that illustrates what you would like to achieve. Don't post your whole workbook. I only need a few rows of data with numbers, then explain what the expected result should be.
May 08 2019 09:47 PM
May 08 2019 09:59 PM
Sorry twifoo for not meeting your high standards. Can you replace 18 metres of purlins without taking the roof off? We all have our niche.
I will try and find a solution elsewhere without the criticism
May 08 2019 10:10 PM
May 08 2019 11:25 PM
Summing totals, how much each customer owes, average days to pay and so on is no problem. If column Q is $0.00, will not need to sum. If Q has a positive balance, then I need to add what is due for Columns F, G and H as they are liabilities until I am paid. Problem is, sometimes part payments are paid (cell O6), which then returns a false answer. Priority for that payment (cell O6) will always be divided equally to wages liability (Columns G and H). Once the remaining amount is paid, it will then bring back a $0.00 amount in Column Q, so will no longer need to be added anyway.
In summary, I need to sum what is due in Columns F, G and H if a balance is due in Column Q. Secondly, a part payment needs to be divided equally between G and H, reducing the amount due in each column by the equal share of the part payment.
Thank you for your patience.
May 09 2019 12:59 AM
@Old_School Thanks for the sample file.
This is a sheet where each new row of data calculates based on the data above, right? You have a running total in columns P and Q.
I'm not sure I understand what you want to do with column G and H. The numbers in these cells are not calculated. Someone must have typed them in.
You have posted the table as it is now. That is a good starting point. Can you manually adjust the cells so I can see what you want to achieve? Then post that as well?
May 09 2019 01:18 AM
Yes Columns P and Q are self calculating but based on manual entries from Column O. Columns F,G and H are also manual entries inputted after an invoice is produced.
I only want to calculate what the total is for F,G and H if Column P has a balance outstanding. I need individual formulas for F, G and H placing the answer in any blank cell. The only variance would be if Column O has a part payment.
May 09 2019 03:01 AM
@Old_School I don't know how to say it any more clearly. Please post a sample with the expected results filled in manually.
I really don't have a clue what your desired end state looks like.
Please post a version of your data sample that has this desired end state. You say you only want to calculate X if there is Y, but you don't say in WHICH CELLS you want to perform these calculations and what the result should be.
Please mock that up in your data sample, so I know what to aim for.
This is my last attempt at trying to coax the desired result out of you. If you cannot show me what you need to see IN A SPREADSHEET, I will have to abandon this question.
May 09 2019 03:33 AM