Sum a range of cells from specific worksheets using Formula

TatsuSheva

New Member
Joined
Apr 30, 2018
Messages
1
[FONT=&quot]Hello, I am trying to sum values from the sheet which it's name is J1 to the actual sheet.[/FONT]

[FONT=&quot]Here is what I did: [/FONT]


  • The Sum : =SUM('J1:Here I have to put the actual sheet'!O1187)
  • Find the actual sheet: =MID(CELL("filename",A1),FIND("]",CELL("filename",A1))+1,256)

[FONT=&quot]How can I combine both in order to get my values ?[/FONT]

[FONT=&quot]EDIT: [/FONT]
[FONT=&quot]I find out something but I get the result as #REF ! here is the formula [/FONT]
[FONT=&quot]=SUM(indirect("'J1:"&MID(CELL("filename",A3),FIND("]",CELL("filename",A3))+1,256)&"'!O1187"))[/FONT]

[FONT=&quot]Do you have any idea how to fix this ? [/FONT]
 

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.
Pls give an example of what this produces

CELL("filename",A3)
 
Last edited:
Upvote 0

Forum statistics

Threads
1,215,886
Messages
6,127,572
Members
449,385
Latest member
KMGLarson

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