Option Explicit
Private SvgVal
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If Target.Address <> "$BV$28" Then Exit Sub
If IsEmpty(Target.Value) Then SvgVal = WorksheetFunction.VLookup(Me.[AG23], _
Me.[D25:AN49], 37, 0) Else SvgVal = Null
End Sub
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Address <> "$BV$28" Or IsEmpty(Target.Value) Or IsNull(SvgVal) Then Exit Sub
Me.[AO25:AO27].Value = SvgVal
End Sub