Solved

formula help (running summ)

Posted on 2011-03-02
4
264 Views
Last Modified: 2012-06-27
Experts, I am not sure if this can be done without a module.  Can the formula below be amended to add 250 each time the data changes?  

eg:  if 250 is the result already in teh cell then add another 250 when it is true and if there was nothing in the cell then it woudl start with 250.  IN a sense it is a running summ.  

thanks...

=IF(AND($D142>$I$18,$D142<$J$18),250,0)
0
Comment
Question by:pdvsa
4 Comments
 
LVL 30

Accepted Solution

by:
SiddharthRout earned 167 total points
ID: 35021723
Like this

=if(A1="",250,A1+250)

Sid
0
 
LVL 50

Assisted Solution

by:Ingeborg Hawighorst
Ingeborg Hawighorst earned 167 total points
ID: 35021762
Hello,

If you want to add 250 every time a value in the cell changes, then you will need a macro. It is not good practice, though to manipulate cell values with macros without leaving an audit trail about these changes.

How would you ever be able to tell how many times the value has changed and another 250 has been added?

Maybe it's better to step back and review your data layout and calculation logic to see if there is a different approach. What are you trying to achieve?

cheers, teylyn
0
 
LVL 23

Assisted Solution

by:Brian B
Brian B earned 166 total points
ID: 35021928
Are you talking about incrementing the value in the same cell as the formula?
0
 

Author Comment

by:pdvsa
ID: 35022088
sid:  I dont think this incorporates the criteria of the original?

Tbone:
<Are you talking about incrementing the value in the same cell as the formula
yes.

teylyn: it is a little difficult to put into words.  

Let me know if this changes your ideas...otherwise I might have to leave as is.
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Improved? Move/Copy Add-in Replacement - How to avoid the annoying, “A formula or sheet you want to move or copy contains the name XXX, which already exists on the destination worksheet.” David Miller (dlmille)  It was one of those days… I wa…
Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question