It sounds like you will need to go the VB route. In that case, consider the following notion. Assume your timess are in row 1, values in row 2 and function in row 3.
You want a routine that, every time an entry is made in row 2, then f(2) is put in row 3. (the times can be handled seperately)
A worksheet change routine like:
Private Sub Worksheet_Change(ByVal Target As Excel.Range)
If 1 < Target.Cells.Count Then Exit Sub
If 2 <> Target.Row Then Exit Sub
Target.Offset(1, 0).Value = myFunction(Target.Value)
End Sub
matched with a (private?) function should meet your needs. Since you already have a worksheet formula for the myFunction value, writing myFunction will be easy.
Bookmarks