Collection and calculation columns on userform across sheets

Hasson

Active Member
Joined
Apr 8, 2021
Messages
407
Office Version
  1. 2016
Platform
  1. Windows
Hi,
I would merge amounts in TOTAL column for each sheet if textbox1, textbox2 are empty , if there are dates then merge within dates .
every sheet contains about 13000 rows so should show ITEM,BATCH ,ID, sheets names as headers from column 4 in list box , as to last column will calculate like this =BBR-BMTR+VSR-STR
and insert TOTAL row to sum TOTAL column in listbox.
Hasson (1) (4).xlsm
ABCDEFG
1DATEBATCHINVOICIDQTYUNIT PRICETOTAL
201/01/2023AVV00VVT/009FOOILLL-100220.00110.0024,200.00
301/01/2023AVV01VVT/009FOOILLL-101100.00140.0014,000.00
401/01/2023AVV02VVT/009FOOILLL-102110.00200.0022,000.00
501/01/2023AVV03VVT/009FOOILLL-103340.00120.0040,800.00
602/01/2023AVV01VVT/010FOOILLL-101120.00155.0018,600.00
702/01/2023AVV00VVT/010FOOILLL-10060.00160.009,600.00
803/01/2023AVV03VVT/011FOOILLL-10360.00155.009,300.00
903/01/2023AVV01VVT/011FOOILLL-10160.00175.0010,500.00
1003/01/2023AVV00VVT/011FOOILLL-10060.00144.008,640.00
1103/01/2023AVV04VVT/011FOOILLL-10422.00134.002,948.00
1203/01/2023AVV05VVT/011FOOILLL-10560.00133.007,980.00
BBR
Cell Formulas
RangeFormula
G2:G12G2=E2*F2





Hasson (1) (4).xlsm
ABCDEFG
1DATEBATCHINVOICIDQTYUNIT PRICETOTAL
201/02/2023AVV00SDFF/99FOOILLL-10010.00150.001,500.00
302/02/2023AVV01SDFF/99FOOILLL-10110.00160.001,600.00
403/02/2023AVV02SDFF/100FOOILLL-10220.00220.004,400.00
504/02/2023AVV03SDFF/101FOOILLL-10315.00150.002,250.00
605/02/2023AVV01SDFF/102FOOILLL-10112.00180.002,160.00
706/02/2023AVV00SDFF/103FOOILLL-1005.00170.00850.00
807/02/2023AVV03SDFF/104FOOILLL-1039.00185.001,665.00
908/02/2023AVV01SDFF/105FOOILLL-1018.00166.001,328.00
1009/02/2023AVV00SDFF/106FOOILLL-1004.00177.00708.00
1109/02/2023AVV02SDFF/106FOOILLL-10220.00212.004,240.00
1210/02/2023AVV05SDFF/107FOOILLL-1055.00145.00725.00
BMTR
Cell Formulas
RangeFormula
G2:G12G2=E2*F2



Hasson (1) (4).xlsm
ABCDEFG
1DATEBATCHINVOICIDQTYUNIT PRICETOTAL
215/02/2023AVV00VBN/900-90FOOILLL-10010.00110.001,100.00
316/02/2023AVV01VBN/900-91FOOILLL-10110.00140.001,400.00
417/02/2023AVV01VBN/900-92FOOILLL-10112.00200.002,400.00
518/02/2023AVV00VBN/900-93FOOILLL-1005.00120.00600.00
619/02/2023AVV03VBN/900-94FOOILLL-1039.00155.001,395.00
720/02/2023AVV01VBN/900-95FOOILLL-1018.00144.001,152.00
821/02/2023AVV00VBN/900-96FOOILLL-1004.00175.00700.00
922/02/2023AVV04VBN/900-97FOOILLL-1042.00140.00280.00
1023/02/2023AVV04VBN/900-98FOOILLL-1042.00144.00288.00
VSR
Cell Formulas
RangeFormula
G2:G10G2=E2*F2



Hasson (1) (4).xlsm
ABCDEFG
1DATEBATCHINVOICIDQTYUNIT PRICETOTAL
228/02/2023AVV00FGRT500-00FOOILLL-1005.00150.00750.00
301/03/2023AVV01FGRT500-00FOOILLL-1015.00160.00800.00
402/03/2023AVV02FGRT500-00FOOILLL-1025.00220.001,100.00
503/03/2023AVV03FGRT500-00FOOILLL-10310.00150.001,500.00
604/03/2023AVV03FGRT500-01FOOILLL-1038.00166.001,328.00
705/03/2023AVV03FGRT500-02FOOILLL-1034.00177.00708.00
806/03/2023AVV01FGRT500-03FOOILLL-1014.00190.00760.00
STR
Cell Formulas
RangeFormula
G2:G8G2=E2*F2




should be on form
hss1.JPG


thanks
 

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top