Summenprodukt
03.02.2023 16:52:18
Rudi
Die Werte die mit 1 beginnen sollen gezählt werden.
Eine Lösung mit einer Formel klappt bestens.
Meine Versuche über VBA waren bis jetzt erfolglos.
123456
123457
223458
123459
123460
223461
Formel:
=SUMMENPRODUKT(N(LINKS(A1:A6;1)="1"))
Resultat = 4
VBA:
zBsp.:
...
Application.WorksheetFunction.SumProduct(IsNumeric(Left(Cells(i, 1), 1) = "1")) ( i mit Schleife)
...
Wie sähe eine Lösung in VBA aus ? Kann mir jemand helfen ?
Besten Dank
Rudi