Hello ,
I have code to show data in listbox1 like this
I have data in sheet
and I add listbox2 , so what I want merge data amounts in PAID,RECEIVED columns based on items are existed in SAFES column for listbox1 ,as to amounts in column C for BAB sheet should sum with amounts for RECEIVED column and show result in listbox2 like this picture,
also should add BALANCE column to subtract RECEIVED column from PAID column and add TOTAL row to sum RECEIVED,PAID columns and in BALANCE column subtract RECEIVED column from ,PAID column.
there are items are existed in BAB sheet and they are not existed in listbox1 so should show in listbox2 based on BAB sheet.
when show result in listbox2 I expect the showed data in listbox1 could be 15000 rows.
thanks
I have code to show data in listbox1 like this
I have data in sheet
mk (1).xlsm | |||||
---|---|---|---|---|---|
A | B | C | |||
1 | ITEM | SAFES | BALANCES | ||
2 | 1 | ASDFT SAFE | 300,000.00 | ||
3 | 2 | YOUSEF SAFE | 150,000.00 | ||
4 | 3 | AFORI BANK | 250,000.00 | ||
5 | 4 | AMTOR BANK | 15,000.00 | ||
6 | 5 | ASTORI BANK | 100,000.00 | ||
7 | 6 | AMM SAFE | 280,000.00 | ||
8 | 7 | HBS BANK | 100,000.00 | ||
9 | TOTAL | 1,195,000.00 | |||
BAB |
Cell Formulas | ||
---|---|---|
Range | Formula | |
C9 | C9 | =SUM(C2:C8) |
and I add listbox2 , so what I want merge data amounts in PAID,RECEIVED columns based on items are existed in SAFES column for listbox1 ,as to amounts in column C for BAB sheet should sum with amounts for RECEIVED column and show result in listbox2 like this picture,
also should add BALANCE column to subtract RECEIVED column from PAID column and add TOTAL row to sum RECEIVED,PAID columns and in BALANCE column subtract RECEIVED column from ,PAID column.
there are items are existed in BAB sheet and they are not existed in listbox1 so should show in listbox2 based on BAB sheet.
when show result in listbox2 I expect the showed data in listbox1 could be 15000 rows.
thanks