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

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.

Forum statistics

Threads
1,215,647
Messages
6,126,005
Members
449,280
Latest member
Miahr

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