Code:
A B C D
1 Tm W L PCT
-------------------
2 AA 12 10 .545
3 BB 13 9 .591
4 CC 14 11 .560
I want a formula in E2:E4 that is based on MAX(D2:D4).
In E2 it would be [(B3-B2)+(C2-C3)]/2, or [(13-12)+(10-9)]/2 = 2/2 =1
In E3 it would be [(B3-B3)+(C3-C3)]/2, or 0
In E4 it would be [(B3-B2)+(C2-C3)]/2, or [(13-14)+(11-9)]/2 = 1/2 ([ ] just used for clarity)
My problem is that the max value in column D will change rows as the data is updated. I know that I could sort the fields but I'm hoping to automate the whole procedure. I thought about OFFSET(MAX(D2:D4),r,c) but that does not work. Any suggestions?