Saturday, April 4, 2020

SUMIF MULTY KRETERIA - EXCEL VBA




PASTEKAN KIDE BERIKUT PADA WORKSHEET

Private Sub worksheet_change(ByVal target As Range)
If Not Intersect(target, [H3]) Is Nothing Then
Dim Sum As Integer, i As Integer
Dim F As Range
Dim S As String
S = Range("F6").Value
For i = 1 To Len(S)
Set F = Range("B6:B20").Find(Mid(S, i, 1))
If Not F Is Nothing Then
Sum = Sum + F.Offset(0, 2).Value
End If
Next i
Range("G6").Value = Sum
End If
End Sub

SILAHKAN MENCIBA !
SEMOGA BERMANFAAT


No comments:

Post a Comment

APLIKASI GUDANG VERSI EXCEL VBA

Aplikasi Gudang Sederhana silahkan dikembangkan kritik dan saran membangun selalu kami harapkan FROM ENTRI IURAN BULANA...