=SUMMEWENNS
04.09.2022 15:05:01
Gert
.Cells(7, 12).FormulaLocal = _
"=SUMMEWENNS(" & _
.Cells(15, 12).Address & ":" & .Cells(71, 12).Address & "; " & _
.Cells(15, 8).Address & ":" & .Cells(71, 8).Address & "; " & "M" & ";" & _
.Cells(15, 11).Address & ":" & .Cells(71, 11).Address & "; " & "Kupfer" & ")"
Diese Seqenz wird zwar ausgeführt, liefert aber folgende nicht funktionierende Formel:=SUMMEWENNS(Z15S12:Z71S12; Z15S8:Z71S8;@ M;Z15S11:Z71S11;@ Kupfer)
Nach manueller Korrektur des Formeleintrags unter Weglassung des @ und
Einführung von Hochkommas ("") läuft die Berechnung richtig
=SUMMEWENNS(Z15S12:Z71S12; Z15S8:Z71S8;"M";Z15S11:Z71S11;"Kupfer")
Warum wird meine Formel-Notation nicht 1 zu 1 umgesetzt ?
Was müsste wie verändert werden, um gleich einen richtigen Formeleintrag zu erhalten ?
Wie könnte ich die Hochkommas durchreichen, ohne dass sie unterdrückt werden ?