Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 1
Default Formula question??

I need to know if there is a way to create a formula that will allow me to
enter multiple values in a cell at different times and this formula will sum
there values.
Example:
I would enter 10 in cell B3.
An hour later I might enter 25 also in cell B3.
After the second entry I would want it to automaticaly display 35.

Is this possible and how would it be done?

Thanks for your help.
  #3   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 22,906
Default Formula question??

And make note of the caveat about having no "audit trail" for error
checking.


Gord Dibben MS Excel MVP

On Wed, 28 Oct 2009 08:27:59 -0700, "Peo Sjoblom" wrote:

At the bottom there is a formula solution turning on iterations

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


  #4   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 5
Default Formula question??

OK. This is great- it can be done!

Pretty new at this so what do I do with this code? Copy and paste somewhere?

Thanks!

"Peo Sjoblom" wrote:

At the bottom there is a formula solution turning on iterations

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

--


Regards,


Peo Sjoblom


"Brad Grow" <Brad wrote in message
...
I need to know if there is a way to create a formula that will allow me to
enter multiple values in a cell at different times and this formula will
sum
there values.
Example:
I would enter 10 in cell B3.
An hour later I might enter 25 also in cell B3.
After the second entry I would want it to automaticaly display 35.

Is this possible and how would it be done?

Thanks for your help.



.

  #5   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 136
Default Formula question??

Here you go

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

--


Regards,


Peo Sjoblom


"Brad Grow" wrote in message
...
OK. This is great- it can be done!

Pretty new at this so what do I do with this code? Copy and paste
somewhere?

Thanks!

"Peo Sjoblom" wrote:

At the bottom there is a formula solution turning on iterations

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

--


Regards,


Peo Sjoblom


"Brad Grow" <Brad wrote in message
...
I need to know if there is a way to create a formula that will allow me
to
enter multiple values in a cell at different times and this formula
will
sum
there values.
Example:
I would enter 10 in cell B3.
An hour later I might enter 25 also in cell B3.
After the second entry I would want it to automaticaly display 35.

Is this possible and how would it be done?

Thanks for your help.



.





  #6   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 5
Default Formula question??

OK. Finally got back on this little project and got it to work. Now how can
I make this work for more than one cell on a worksheet? I have played with
it a little bit and I can make it work anywhere on the worksheet, but only
one spot. Also is there any potential problems by having it apply to a range
of cells?

Thank you agaun for your time and assistance.


"Peo Sjoblom" wrote:

Here you go

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

--


Regards,


Peo Sjoblom


"Brad Grow" wrote in message
...
OK. This is great- it can be done!

Pretty new at this so what do I do with this code? Copy and paste
somewhere?

Thanks!

"Peo Sjoblom" wrote:

At the bottom there is a formula solution turning on iterations

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

--


Regards,


Peo Sjoblom


"Brad Grow" <Brad wrote in message
...
I need to know if there is a way to create a formula that will allow me
to
enter multiple values in a cell at different times and this formula
will
sum
there values.
Example:
I would enter 10 in cell B3.
An hour later I might enter 25 also in cell B3.
After the second entry I would want it to automaticaly display 35.

Is this possible and how would it be done?

Thanks for your help.


.



.

  #7   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 22,906
Default Formula question??

Private Sub Worksheet_Change(ByVal Target As Excel.Range)
Static dAccumulator As Double
Const WS_RANGE As String = "A1:A10" 'adjust range to suit.
If Not Intersect(Target, Me.Range(WS_RANGE)) Is Nothing Then
With Target
If Not IsEmpty(.Value) And IsNumeric(.Value) Then
dAccumulator = dAccumulator + .Value
Else
dAccumulator = 0
End If
Application.EnableEvents = False
.Value = dAccumulator
Application.EnableEvents = True
End With
End If
End Sub

Should pose no problem with a larger range.


Gord Dibben MS Excel MVP

On Mon, 9 Nov 2009 17:48:01 -0800, Brad Grow
wrote:

OK. Finally got back on this little project and got it to work. Now how can
I make this work for more than one cell on a worksheet? I have played with
it a little bit and I can make it work anywhere on the worksheet, but only
one spot. Also is there any potential problems by having it apply to a range
of cells?

Thank you agaun for your time and assistance.


"Peo Sjoblom" wrote:

Here you go

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

--


Regards,


Peo Sjoblom


"Brad Grow" wrote in message
...
OK. This is great- it can be done!

Pretty new at this so what do I do with this code? Copy and paste
somewhere?

Thanks!

"Peo Sjoblom" wrote:

At the bottom there is a formula solution turning on iterations

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

--


Regards,


Peo Sjoblom


"Brad Grow" <Brad wrote in message
...
I need to know if there is a way to create a formula that will allow me
to
enter multiple values in a cell at different times and this formula
will
sum
there values.
Example:
I would enter 10 in cell B3.
An hour later I might enter 25 also in cell B3.
After the second entry I would want it to automaticaly display 35.

Is this possible and how would it be done?

Thanks for your help.


.



.


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
formula question GOODCREATIONS Excel Worksheet Functions 9 November 14th 07 05:47 PM
formula question macca Excel Worksheet Functions 3 November 13th 07 11:37 AM
formula question? hotelmasters Excel Worksheet Functions 3 June 15th 06 02:26 AM
Newbie Question - Subtraction Formula Question [email protected] Excel Discussion (Misc queries) 3 May 5th 06 05:50 PM
Formula question Craig Fletcher Excel Worksheet Functions 2 June 24th 05 03:58 PM


All times are GMT +1. The time now is 01:16 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"