in der tabelle2 habe ich von a2:d2
folgendes stehen
a b c summe
möbel tisch holz roh 100
habe in der tabelle3 ab spalte b2 als refrerenz folgende zahlen stehen.
24
23
22
21
20
das makro soll sich in tabelle1 b2 merken in die tabelle1 spalte ab a2 danach suchen und wenn die zahlen von tabelle3 in spalte d auftauchen die spalte e addieren dann in tabelle2 spalte e (summe) abziehen
und in tabbelle1 folgende aufstellung
a b c d e
möbel tisch holz roh 24 21
möbel Stuhl holz roh 18 5
möbel Bank holz roh 15 10
möbel tisch holz roh 20 20
beipiel: die lösung hier wäre tabbel2
a b c summe
möbel tisch holz roh 59
habt ihr eine idee