suming up changing single cell

JordanGoodchild

New Member
Joined
Jul 21, 2010
Messages
28
i have a single cell that changes from 1 to 0 in a repeating pattern is there a way to sum up this changing cell in an adjacent cell.
 

Some videos you may like

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.

kevin lazell

Active Member
Joined
Jun 2, 2004
Messages
496
hi jordon
assuming your single cell is A1 select B1 and enter this formula
RECALL()+A1
 

YasserKhalil

Well-known Member
Joined
Jun 24, 2010
Messages
804
Mr. Kevin
Your formula returns #Name! Error
What's RECALL()??? Is it user-defined-function
 

RoryA

MrExcel MVP, Moderator
Joined
May 2, 2008
Messages
35,503
Office Version
  1. 365
  2. 2019
  3. 2016
  4. 2010
Platform
  1. Windows
  2. MacOS
It's a function in the MOREFUNC add-in IIRC.
 

YasserKhalil

Well-known Member
Joined
Jun 24, 2010
Messages
804
Try this code

Code:
Private Sub Worksheet_Change(ByVal Target As Range)
If Not Intersect(Target, Range("A1")) Is Nothing Then
Target.Offset(0, 1) = Target.Offset(0, 1) + Target.Value
End If
End Sub
 

JordanGoodchild

New Member
Joined
Jul 21, 2010
Messages
28
thanks for the tip kevin, unfortunately everytime the spreadsheet updates itself it adds the cell up again despite it hasn't changed from 1 to 0.
 

Watch MrExcel Video

Forum statistics

Threads
1,108,918
Messages
5,525,624
Members
409,657
Latest member
19JimRon72

This Week's Hot Topics

Top