A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Setting up and Configuration
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

result column



 
 
Thread Tools Display Modes
  #1  
Old June 23rd, 2009, 09:31 PM posted to microsoft.public.excel.setup
Khht
external usenet poster
 
Posts: 1
Default result column

I have 3 columns lets call them a,b and c.
line 1 column C I have a total amount
line 2 I have amounts in colum a and b and want a new total in column C
2c=(1c+2a+2b)
than:
3c= (2c+3a+3b), etc.
is there somehow I can set that up to calculate automatically through a
macro??

  #2  
Old June 24th, 2009, 03:34 AM posted to microsoft.public.excel.setup
JLatham
external usenet poster
 
Posts: 1,896
Default result column

I'm not exactly sure of what you want or expect a macro to do. Your formula
can be filled down easily as new rows are added to the sheet.

Formulas:
in C1: =A1+B1
in C2: =C1 + A2 + B2
from this point if you just copy/fill the formula in column C on down the
sheet it will automatically add the contents of column C 1 row above the
formula to the contents of A and B on the same row.

What is you want a macro to do: and when would it do it?


"Khht" wrote:

I have 3 columns lets call them a,b and c.
line 1 column C I have a total amount
line 2 I have amounts in colum a and b and want a new total in column C
2c=(1c+2a+2b)
than:
3c= (2c+3a+3b), etc.
is there somehow I can set that up to calculate automatically through a
macro??

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 04:16 AM.


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