Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default EXEL Math - need help

I receive in one cell in exel real time data and i want to sum that dat
in other cell. My english is bad so i will try with example:
In A1 i receive different numbers and i want to sum A1 value + previou
A1 value in A2 . and by end of the day in A2 i want to have cumulativ
value of A1.
I hope u understand my english,
thx a lo

--
Message posted from http://www.ExcelForum.com

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 837
Default EXEL Math - need help

You cannot have A2 accumulate the sum of all values that have ever
appeared in A1 with a worksheet formula. You could write a macro tied
to the worksheet change event that would do it, but that is generally
unadvisable:
- How do you correct it if there was an erroneous entry in A1?
- You would have no history from which to verify a particular value
in B1.

Jerry

alchemist < wrote:

I receive in one cell in exel real time data and i want to sum that data
in other cell. My english is bad so i will try with example:
In A1 i receive different numbers and i want to sum A1 value + previous
A1 value in A2 . and by end of the day in A2 i want to have cumulative
value of A1.
I hope u understand my english,
thx a lot


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default EXEL Math - need help

Thx Lerry,
but that is my problem.I know nothing about macros and dont know how t
create them.
I want to try with macros

--
Message posted from http://www.ExcelForum.com

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,624
Default EXEL Math - need help

Take a look here for both macro and worksheet function methods (using
circular references):

http://www.mcgimpsey.com/excel/accumulator.html

Since you're unfamiliar with macros, also take a look at David
McRitchie's "Getting Started with Macros":

http://www.mvps.org/dmcritchie/excel/getstarted.htm


In article ,
alchemist wrote:

but that is my problem.I know nothing about macros and dont know how to
create them.
I want to try with macros.

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 81
Default EXEL Math - need help

Hello,

Click on the work sheet tab, click on viwe code, in the window that
opens, delet the text that is there are paste this in


Private Sub Worksheet_Change(ByVal Target As Range)

If Not Application.Intersect(Target, Range("A1")) Is Nothing Then

Range("B2").Value = Range("a1").Value + Range("B1").Value
End If

End Sub

this show do the trick


  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 81
Default EXEL Math - need help

Hello,

Click on the work sheet tab, click on viwe code, in the window that
opens, delet the text that is there are paste this in


Private Sub Worksheet_Change(ByVal Target As Range)

If Not Application.Intersect(Target, Range("A1")) Is Nothing Then

Range("B2").Value = Range("a1").Value + Range("B1").Value
End If

End Sub

this show do the trick

good luck
ROss
  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default EXEL Math - need help

THX a lot JE McGimpsey :)
great site. NOw it work :)
Thx to u again and to all of u for the help!!!!!!!!!!!
Regards from Bulgaria ;

--
Message posted from http://www.ExcelForum.com

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
Math help Nadine Excel Worksheet Functions 3 May 10th 10 07:45 PM
math DeAnna Ramirez Excel Worksheet Functions 2 June 7th 07 11:42 PM
Math Curtis Excel Discussion (Misc queries) 0 July 24th 06 11:34 PM
how do I convert a non exel tabulation to exel dte123 New Users to Excel 2 June 30th 06 02:31 AM
math Bill Excel Discussion (Misc queries) 3 August 11th 05 11:21 PM


All times are GMT +1. The time now is 11:03 PM.

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

About Us

"It's about Microsoft Excel"