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

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
Pls give an example of what this produces

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

Forum statistics

Threads
1,223,227
Messages
6,170,848
Members
452,361
Latest member
d3ad3y3

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