Hello
I want adding or subtract when the values writing in textbox2 to column D based on matching ID in textbox1 with column C inside the sheet
original data in the sheet
if select optionbutton 1IMPORT then will sum to column C after matching ID as marked the cell
and when select option button 2 (EXPORTR) then will subtract from column C for the ID (picture 2 depends on picture1 )
and if select optionbutton3(RE) then will sum to column C for the ID (picture 3 depends on pictur2 )
and if select optionbutton 4(ER) then will subtract from column C for the ID (picture 4 depends on picture31 )
I want adding or subtract when the values writing in textbox2 to column D based on matching ID in textbox1 with column C inside the sheet
original data in the sheet
ASDD.xlsm | ||||||
---|---|---|---|---|---|---|
A | B | C | D | |||
1 | ITEM | DATE | ID | QTY | ||
2 | 1 | 25/06/2023 | SDFR-1000 | 20.00 | ||
3 | 2 | 26/06/2023 | SDFR-1001 | 20.00 | ||
4 | 3 | 26/05/2023 | SDFR-1002 | 200.00 | ||
5 | 4 | 27/05/2023 | SDFR-1003 | 201.00 | ||
SH |
if select optionbutton 1IMPORT then will sum to column C after matching ID as marked the cell
and when select option button 2 (EXPORTR) then will subtract from column C for the ID (picture 2 depends on picture1 )
and if select optionbutton3(RE) then will sum to column C for the ID (picture 3 depends on pictur2 )
and if select optionbutton 4(ER) then will subtract from column C for the ID (picture 4 depends on picture31 )