Hello,
I'm working on creating a formula to tell me the oldest outstanding invoice based on Job #. I have a pivot table that shows an outstanding amount, if any, for each invoice. Each customer has multiple invoices.
Ideally, the user would input the job #, and the formula would return the oldest outstanding invoice for that specific job.
The minimum (date) value would be returned after meeting to criterion:
1. Job numbers need to match
2. Open amount > $0
I tried (and failed) with the formula below:
=IF(AND(P:P=$V1,S:S>1),MIN(R:R),"")
Where V1 is the Job# input, Column P is the list of Job #'s, Column S is the Open Amounts, and Column R is the dates.
Any help is appreciated, thanks!
I'm working on creating a formula to tell me the oldest outstanding invoice based on Job #. I have a pivot table that shows an outstanding amount, if any, for each invoice. Each customer has multiple invoices.
Ideally, the user would input the job #, and the formula would return the oldest outstanding invoice for that specific job.
The minimum (date) value would be returned after meeting to criterion:
1. Job numbers need to match
2. Open amount > $0
I tried (and failed) with the formula below:
=IF(AND(P:P=$V1,S:S>1),MIN(R:R),"")
Where V1 is the Job# input, Column P is the list of Job #'s, Column S is the Open Amounts, and Column R is the dates.
Any help is appreciated, thanks!