ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   What function do I use to subtract two cells in the same row? (https://www.excelbanter.com/excel-worksheet-functions/222800-what-function-do-i-use-subtract-two-cells-same-row.html)

mscott

What function do I use to subtract two cells in the same row?
 
I set up a balance sheet and want to subtract expenses (col C) from income
(col B). I want the difference to display in col D on a particular line but I
can't find a function that will do this.

Luke M

What function do I use to subtract two cells in the same row?
 
One cell in column C subtracted from one cell in column D:
=D2-C2
Everything in column C subtracted from everything in column D:
=SUM(D2:D100)-SUM(C2:C100)
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"mscott" wrote:

I set up a balance sheet and want to subtract expenses (col C) from income
(col B). I want the difference to display in col D on a particular line but I
can't find a function that will do this.



All times are GMT +1. The time now is 07:02 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com