show message box besd on sheets names & calculation the total values

KalilMe

Active Member
Joined
Mar 5, 2021
Messages
343
Office Version
  1. 2016
Platform
  1. Windows
hi community !
I want to show the details for all of sheets & calculation for all of values for each sheet .
s(2).xlsm
ABCDEFG
1ITEMBRTYORQTYPRICETOTAL
21FRAPPLELL270.0012.00$3,240.00
32FRPEARNN60.0011.00$660.00
43FRBANANAQQ70.0012.00$840.00
55VEGTOMATOSS72.0013.00$936.00
FIRST
Cell Formulas
RangeFormula
G2:G5G2=E2*F2


s(2).xlsm
ABCDEFG
1ITEMBRTYORQTYPRICETOTAL
21FRBANANATT300.0012.00$3,600.00
32FRAPPLELL270.0012.00$3,240.00
43FRPEARNN60.0011.00$660.00
54FRBANANAQQ70.0012.00$840.00
65VEGTOMATOSS72.0013.00$936.00
76VEGTOMATOAA22.0014.00$308.00
87VEGONIONAA16.0012.00$72.00
PURCHASE
Cell Formulas
RangeFormula
G2:G8G2=E2*F2


s(2).xlsm
ABCDEFG
1ITEMBRTYORQTYPRICETOTAL
21FRBANANATT12015.00$1,800.00
32FRAPPLELL5016.00$800.00
43FRPEARNN1213.00$156.00
SALES
Cell Formulas
RangeFormula
G2:G4G2=E2*F2


s(2).xlsm
ABCDEFG
1ITEMBRTYORQTYPRICETOTAL
21FRMELONSD1015.00$150.00
32FRAPPLELL516.00$80.00
RSALES
Cell Formulas
RangeFormula
G2:G3G2=E2*F2



s(2).xlsm
ABCDEFG
1ITEMBRTYORQTYPRICETOTAL
21VEGTOMATOSS5.0013.00$65.00
32VEGTOMATOAA4.0014.00$56.00
43VEGONIONAA11.0012.00$12.00
RPUR
Cell Formulas
RangeFormula
G2:G4G2=E2*F2

so should show me messagebox based on sheets names and summing the values for each sheet into column E,G and calculation like this

SHEET NAME QTY TOTAL
FIRST 472.00 $ 5,676
PURCHASE 800.00 $ 9,656.00
SALES 182.00 $ 2,756.00
RSALES 15.00 $ 230.00
RPUR 10.00 $ 133.00
CALCULATION 1,479.00 $ 12,673.00
the calculation in messagebox
QTY= 472+800+182+15+10=1,479
TOTAL= $ 5,676+ $ 9,656.00-$ 2,756.00+ $ 230.00- $ 133.00= $ 12,673.00
thanks
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.

Forum statistics

Threads
1,215,831
Messages
6,127,148
Members
449,364
Latest member
AlienSx

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