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 » New Users
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

add up numbers !!!



 
 
Thread Tools Display Modes
  #1  
Old July 25th, 2007, 04:02 PM posted to microsoft.public.excel.newusers
ryan101
external usenet poster
 
Posts: 1
Default add up numbers !!!

hi i am having some differculties by putting some numbers in a column going
down and i have another column nex to it and i want the numbers from the
first column so that everytime i add some numbers to that column it will add
them up in he column next to it so its like a continues adding senquence if a
picture is needed email me ur email and ial email it to u thanks ryan.
  #2  
Old July 25th, 2007, 04:39 PM posted to microsoft.public.excel.newusers
Don Guillett
external usenet poster
 
Posts: 6,167
Default add up numbers !!!

Right click sheet tabview codeinsert thisadjust to your columnSAVE
workbook

Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Column 16 Then Exit Sub
Target.Offset(, 1) = _
Application.Sum(Range("p1" & Target.Row))
End Sub


--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"ryan101" wrote in message
...
hi i am having some differculties by putting some numbers in a column
going
down and i have another column nex to it and i want the numbers from the
first column so that everytime i add some numbers to that column it will
add
them up in he column next to it so its like a continues adding senquence
if a
picture is needed email me ur email and ial email it to u thanks ryan.


  #5  
Old July 26th, 2007, 02:28 PM posted to microsoft.public.excel.newusers
Don Guillett
external usenet poster
 
Posts: 6,167
Default add up numbers !!!

From your workbook and minimal description, IF you want the total of col B
shown in Col D whenever you input data in col B, then

Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Column 2 Then Exit Sub
Target.Offset(, 2) = _
Application.Sum(Range("b1:b" & Target.Row))
End Sub

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"ryan101" wrote in message
...
hi i am having some differculties by putting some numbers in a column
going
down and i have another column nex to it and i want the numbers from the
first column so that everytime i add some numbers to that column it will
add
them up in he column next to it so its like a continues adding senquence
if a
picture is needed email me ur email and ial email it to u thanks ryan.


 




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 10:10 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.