Add all C26 Cells from Different worksheets

franswa3434

Board Regular
Joined
Sep 16, 2014
Messages
69
Hi everyone,

I'm creating a pricing workbook that will have worksheets added and removed based upon the number of locations I'm pricing out. For example, if I have 2 locations, I'll have my initial sheet, and then a VBA button will create another pricing sheet for the 2nd location. If I have 10 locations, i would follow the same process.

My total pricing for each location is in cell C26.

How can I automatically add up the sums of each workbooks' cell C26 into a Total Cost worksheet, and do it in a way that changes automatically to the number of priced locations?

Thank you!

franswa3434
 

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.
I think I got it.

I used the sum function, and put in a range (First:Last) and named my first and last sheets accordingly. any additions and subtractions within this range are automatically accounted for.

Thanks everyone!
 
Upvote 0

Forum statistics

Threads
1,215,461
Messages
6,124,955
Members
449,199
Latest member
Riley Johnson

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