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

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.

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,509
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,109,116
Messages
5,526,921
Members
409,730
Latest member
mimipiz

This Week's Hot Topics

Top