Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 24
Default subtract sum in one column from another

Hi All,
I am trying to do a mileage worksheet, where I am putting in the staring
mileage in column B and the ending in column C with the total milage driven
in column D
This is what I would like to do D=C-B.
I can do it by formatting the cell in each row in column D =SUM(C3-B3), Can
i format column D so the formula is automatically entered for each row?
Thank you in advance
bobby

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,268
Default subtract sum in one column from another

Formatting has nothing to do with this and there is no need to use SUM if
all you want is to subtract, you can copy down the formula by dragging the
lower right corner with the mouse and copy it down and the formula as
written will change

=C3-B3

in the next cell it will change to

=C4-B4

and so on


--


Regards,


Peo Sjoblom



"bobby02169" wrote in message
...
Hi All,
I am trying to do a mileage worksheet, where I am putting in the staring
mileage in column B and the ending in column C with the total milage
driven
in column D
This is what I would like to do D=C-B.
I can do it by formatting the cell in each row in column D =SUM(C3-B3),
Can
i format column D so the formula is automatically entered for each row?
Thank you in advance
bobby



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default subtract sum in one column from another



"bobby02169" wrote:

Hi All,
I am trying to do a mileage worksheet, where I am putting in the staring
mileage in column B and the ending in column C with the total milage driven
in column D
This is what I would like to do D=C-B.
I can do it by formatting the cell in each row in column D =SUM(C3-B3), Can
i format column D so the formula is automatically entered for each row?
Thank you in advance
bobby

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default subtract sum in one column from another

Bobby,

The correct formula is

=c3-b3

you don't need the Sum bit.

Enter you formula on the topmost cell and select that cell and all the cells
you want to fill then:-

Edit|Fill|Down

If you already have data in columns C & B then enter the formula in the
topmost cell and doubleclick the fill handle


Mike



"bobby02169" wrote:

Hi All,
I am trying to do a mileage worksheet, where I am putting in the staring
mileage in column B and the ending in column C with the total milage driven
in column D
This is what I would like to do D=C-B.
I can do it by formatting the cell in each row in column D =SUM(C3-B3), Can
i format column D so the formula is automatically entered for each row?
Thank you in advance
bobby

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 24
Default subtract sum in one column from another

Thank you Mike and peo.
i meant to type formula not format.
Thanks
again

"Mike H" wrote:

Bobby,

The correct formula is

=c3-b3

you don't need the Sum bit.

Enter you formula on the topmost cell and select that cell and all the cells
you want to fill then:-

Edit|Fill|Down

If you already have data in columns C & B then enter the formula in the
topmost cell and doubleclick the fill handle


Mike



"bobby02169" wrote:

Hi All,
I am trying to do a mileage worksheet, where I am putting in the staring
mileage in column B and the ending in column C with the total milage driven
in column D
This is what I would like to do D=C-B.
I can do it by formatting the cell in each row in column D =SUM(C3-B3), Can
i format column D so the formula is automatically entered for each row?
Thank you in advance
bobby

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I subtract one column from another? jewels New Users to Excel 4 October 1st 07 10:02 PM
Column formulas to subtract value from value DBane Excel Discussion (Misc queries) 4 June 18th 06 04:19 PM
How do I add a column of cells, but IF a row has (), subtract? Brandy Excel Worksheet Functions 4 April 4th 06 04:59 PM
HOW DO YOU ADD & SUBTRACT IN ONE COLUMN Stephanie Excel Worksheet Functions 1 September 25th 05 11:38 PM
subtract 10 from every number in a column gimianame Excel Worksheet Functions 1 August 11th 05 07:20 PM


All times are GMT +1. The time now is 03:38 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"