Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]()
Basically I am trying to check for the value of one cell and if it is true
then add/subtract one from another cell. if A1 is "true" then B1 equals B1+1 Any ideas? Thanks |
#2
![]() |
|||
|
|||
![]()
Hi
because this a circular reference you have two choices, you can tick the Interation check box in tools / options / calculations tab (and set the max to 1) (i don't know the full implications of doing this) or you can use code e.g. Private Sub Worksheet_Change(ByVal Target As Range) Application.EnableEvents = False If Range("A1") = True Then Range("B1") = Range("B1") + 1 End If Application.EnableEvents = True End Sub - to use this code, right mouse click on the sheet tab where you want the code and choose view code copy & paste the code there Cheers julieD "ktjohn" wrote in message ... Basically I am trying to check for the value of one cell and if it is true then add/subtract one from another cell. if A1 is "true" then B1 equals B1+1 Any ideas? Thanks |
#3
![]() |
|||
|
|||
![]()
Take a look he
http://www.mcgimpsey.com/excel/accumulator.html In article , ktjohn wrote: Basically I am trying to check for the value of one cell and if it is true then add/subtract one from another cell. if A1 is "true" then B1 equals B1+1 Any ideas? Thanks |
#4
![]() |
|||
|
|||
![]()
That will popup a circular reference error, one possible solution
http://www.mcgimpsey.com/excel/accumulator.html Regards, Peo Sjoblom "ktjohn" wrote: Basically I am trying to check for the value of one cell and if it is true then add/subtract one from another cell. if A1 is "true" then B1 equals B1+1 Any ideas? Thanks |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Using the MAX function with "constant increment" cell references | Excel Worksheet Functions | |||
copy a cell value not its function | Excel Discussion (Misc queries) | |||
GET.CELL | Excel Worksheet Functions | |||
Function to return colour of formatted cell | Excel Worksheet Functions | |||
continuous cell function | Excel Worksheet Functions |