VBA to create Summary Sheet

Manchesterisred

New Member
Joined
Aug 20, 2021
Messages
17
Office Version
  1. 365
Platform
  1. Windows
HI All,

I am looking for a VBA to create a Summary Sheet table.

It needs a header in cell A1 called "Mandate", header in B1 called "Company Name," , header in C1, called " Amount in DC", header in cell D1, call " total on summary" and header in cell E1 called variance

Then in cell A3, I need it copy from each worksheet, cell E21 to go under mandate, cell B22 to go under company name, Sum up column G and divide by 2 to go under Amount in DC, a sum if to go under total on summary and then total on summary minus amount in DC to go under variance.
This should loop through all sheet s and create a table.

Can anyone help me write this ?

thank you
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
Sum up column G and divide by 2 to go under Amount in DC, a sum if to go under total on summary and then total on summary minus amount in DC to go under variance.
I did not understand well.
You could give an example of one of your sheets. Show what you have on that sheet and what are the results you want in cells C3, D3 and E3 of the summary sheet.

Use XL2BB tool minisheet to give an example.
 
Upvote 0

Forum statistics

Threads
1,215,038
Messages
6,122,798
Members
449,095
Latest member
m_smith_solihull

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