Hi All,
I have two columns A and B as shown below with 12 values(A1-A12 and B1-B12)
Now In A14 i need a formula, which will
1. Get the sum of cell values in Column B and Sum of Corresponding cell values in Column A
Column B = 21.0+22.5+23.0 = 66.5
Column A = 20.0+20.0+20.0 = 60.0
2. Check if Sum in Column B is Greater than that of Column A
a)If yes then take the difference --> Lets take this as X = 66.5 - 60.0 = 6.5
b)If it is equal or less then take it as X= 0.
3. Get the sum of all values in Column A -- > Lets take it as Y = 223.0
4. Now the result will be X+Y = 6.5+223.0 = 229.5
Please help me in getting this done.. Let me know if you could not understand my requirement.
Thank you.
Bookmarks