Phil,
You can't do this withn a formula as you want to change the cell that the
formula would be in, so you need event code.
I have put this together, and it will reduce C7 every time C2 is changed. It
will only reduce C7 if it is greater than zero. Is this what you want?
Option Explicit
Private Sub Worksheet_Change(ByVal Target As Range)
On Error GoTo ws_exit:
Application.EnableEvents = False
With Target
If .Address = "$C$2" Then
If .Value < 0.208333333333333 Then
If Range("C7").Value > 0 Then
Range("C7").Value = Range("C7").Value - 1
End If
End If
End If
End With
ws_exit:
Application.EnableEvents = True
End Sub
'This is worksheet event code, which means that it needs to be
'placed in the appropriate worksheet code module, not a standard
'code module. To do this, right-click on the sheet tab, select
'the View Code option from the menu, and paste the code in.
--
HTH
RP
(remove nothere from the email address if mailing direct)