How to add formula using vba in multiple sheets

Muhammad Hussaan

New Member
Joined
Dec 13, 2017
Messages
47
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
 

Some videos you may like

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.

Watch MrExcel Video

Forum statistics

Threads
1,122,418
Messages
5,596,028
Members
414,039
Latest member
southike

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
Top