I have the following Excel spreadsheet:
A B C D
1 Budget Actual Sort by Variancy (descending)
2 Product A 500 250 Product F
3 Product B 900 800 Product D
4 Product C 300 450 Product C
5 Product D 400 600 Product B
6 Product E 700 300 Product A
7 Product F 150 900 Product E
As you can see in Column A I have listed different products and in Column B I have their budget
value and in Column C the actual
value.
Now, I want to list those products based on their budget-actual-variancy
in Column D in a descending order (starting from the highest positive variancy).
The only formula which comes in my mind is =LARGE(B2:B7,1)
but it only sorts the products by the budget values
(Column B) or actual values
(Column C). Not by the difference between the two values.
Do you know any formula which I can use to sort the products in Column D based on their variancy?
Please note:
I know I could add a helper column
in which I calculate the differences between Column B and Column C and then go with the LARGE
function on this helper column
but I am looking for a solution without such a helper column
.