Ok sorry Problem flasch rum verstanden - die Fromel hätte in X geschrieben^^
dann wohl doch vba
versuch mal das in Tabelle1(Kalender) einzufügen
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Column = 24 Then
Dim zeile As Long
Dim my_val As Long
Dim my_res
Dim myCells
zeile = 2
Application.ScreenUpdating = False
Do Until Cells(zeile, 23) = ""
my_val = Cells(zeile, 23).Value
my_res = Cells(zeile, 24).Value
For Each myCells In Range(Cells(1, 1), Cells(70, 19))
If myCells.Value = my_val And myCells.NumberFormat = "dd" Then
myCells.Select
ActiveCell.Offset(rowOffset:=0, columnOffset:=2).Activate
ActiveCell.Value = my_res
End If
Next
zeile = zeile + 1
Loop
Cells(1, 1).Select
Application.ScreenUpdating = True
End If
End Sub