Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / October 2007

Tip: Looking for answers? Try searching our database.

How do I subtract one column from another?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
jewels - 01 Oct 2007 20:58 GMT
I am trying to subtract columns in excel to get a third column with totals
automatically without having to subtract each row individually.  

please help!!!
George Gee - 01 Oct 2007 21:22 GMT
Assuming data in columns A & B.
In cell C1 type:   =A1-B1

With cell C1 selected double-click on the fill handle, lower right of cell.

George Gee

>I am trying to subtract columns in excel to get a third column with totals
> automatically without having to subtract each row individually.
>
> please help!!!
Gord Dibben - 01 Oct 2007 21:44 GMT
Numbers in column A

Numbers in column B

In C1 enter   =A1-B1

Double-click on the fill handle of C1 to copy down.

OR maybe you need..........

In C1 enter  =SUM(A:A)-SUM(B:B) which will not need copying down.

Gord Dibben  MS Excel MVP

>I am trying to subtract columns in excel to get a third column with totals
>automatically without having to subtract each row individually.  
>
>please help!!!
dpizarrot - 01 Oct 2007 21:56 GMT
if the first column is A and the Second B it will be in coulumn C this
get the formula active by typing =A1-B1 in Cell C1 enter select C1 and grab
the right
low courner of the cell C1, you should get a solid black cross, left click
and hold and drag down, this causes a relative copy of the formula. for mor
info and examples go to help files type relative copying.
Signature

Their is always a solution to any problem.

> I am trying to subtract columns in excel to get a third column with totals
> automatically without having to subtract each row individually.  
>
> please help!!!
Rodrigo Ferreira - 01 Oct 2007 22:02 GMT
> I am trying to subtract columns in excel to get a third column with
> totals automatically without having to subtract each row
> individually.
>
> please help!!!

Try this:
=SUMPRODUCT((A1:A200)-(B1:B200))

The result is (A1-B1)+(A2-B2)+(A3-B3)+.....+(A200-B200)

--
Rodrigo Ferreira
Regards from Brazil
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.