hello
can I sum the new value in cell F6 over the prevouis value in cell F6 based on item in cell F2
F2 depends on column B , F6 depends on column C
when select A001 it will be
and when select different item should sum over previous value like this
can I sum the new value in cell F6 over the prevouis value in cell F6 based on item in cell F2
F2 depends on column B , F6 depends on column C
when select A001 it will be
1.xlsx | ||||||||
---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | |||
1 | ITEM | COST | ITEM | |||||
2 | A001 | 1000 | A001 | |||||
3 | A002 | 1500 | ||||||
4 | A003 | 2900 | ||||||
5 | A004 | 100 | TOTAL | |||||
6 | 1000 | |||||||
Sheet1 |
and when select different item should sum over previous value like this
1.xlsx | ||||||||
---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | |||
1 | ITEM | COST | ITEM | |||||
2 | A001 | 1000 | A002 | |||||
3 | A002 | 1500 | ||||||
4 | A003 | 2900 | ||||||
5 | A004 | 100 | TOTAL | |||||
6 | 2500 | |||||||
Sheet1 |