Hi everyone,
I have a data set which as an example has the below information in it
Invoice number / charge type (FULL or DISCOUNT) / Total Volume / Total Charge
1461615 FULL 100 50
1461615 DISCOUNT 100 -10
252656 FULL 150 21
So for invoice 1461615 on the discount line, I need to calculate the unit cost which is the total charge divided by the total volume but using the FULL line
I can't figure out how to do this. I've tried SUMPRODUCT but it's returning the value for the discount line unit cost which is not what I need
Thank you
I have a data set which as an example has the below information in it
Invoice number / charge type (FULL or DISCOUNT) / Total Volume / Total Charge
1461615 FULL 100 50
1461615 DISCOUNT 100 -10
252656 FULL 150 21
So for invoice 1461615 on the discount line, I need to calculate the unit cost which is the total charge divided by the total volume but using the FULL line
I can't figure out how to do this. I've tried SUMPRODUCT but it's returning the value for the discount line unit cost which is not what I need
Thank you