How to add formula using vba in multiple sheets

Muhammad Hussaan

New Member
Joined
Dec 13, 2017
Messages
49
Office Version
  1. 2013
Platform
  1. Windows
I have sheets name 1,2,3,4.. upto 30.In sheet name 1 cell B2 i have daily expense of date 1In the same sheet name 1 cell B3 i have daily income of date 1SimilarlyIn sheet name 2 cell B2 i have daily expense of date 2In the same sheet name 2 cell B3 i have daily income of date 2In the cell C2 i want to sum B2 of sheet name 1 and 2 as month to date totalIn the cell C3 i want to sum B3 of sheet name 1 and 2 as month to date totalIn sheet name 3 cell C3 i want to add B2 of sheet name 1,2 and 3In sheet name 4 cell C3 i want to add B2 of sheet name 1,2,3 and 4 and so on. Kindly help
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.

Forum statistics

Threads
1,214,915
Messages
6,122,214
Members
449,074
Latest member
cancansova

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