Forum Discussion
Excel Sum Formula Help
Kevin,
here is one way to do it:
=SUM(N:N)-SUM(O:O)-SUM(P:P)
- Willy LauFeb 06, 2018Iron Contributor
Hi, Kevin. I am not sure your question. Your original message said you have done with Sum formula. You can copy and paste in the whole Column Q.
Just in case, perhaps you used something like
=SUM($N$5:$P$5)
In the above formula, the reference address is an absolute reference address. Wherever you copy and paste that formula (except N5 to P5), it gives the same result becuase it refers to the same 3 cells.
You can use relative reference address in Q5 like
=SUM(N5:P5)
If you copy it and paste in Q6, the formula will change to
=SUM(N6:P6)
or copy it and paste to D1, the formula will change to
=SUM(A1:C1)
You may read Switch between relative, absolute, and mixed references for more infomation.
In addition, you may use Fill Handle to fill the formula for you if you use relative reference address for the formula.
- Kevin MayoFeb 06, 2018Copper ContributorThank you both! I didn't realize that copying the SUM formula down would change the values to match the corresponding rows. Haven't needed to use excel in a long time.
Thanks again!
- Detlef_LewinFeb 06, 2018Silver Contributor
Kevin,
I misunderstood your issue.
Then it is simply:
=N5-O5-P5
And copy the formula down.