How to reference a specific line number in a sum formula

limah82

New Member
Joined
Jun 20, 2019
Messages
17
Dear All,

first of all thank you for spending some time reading this thread.

Description of my problem:


I have 1 summary sheet where i sum up the content of several other sheets (zir1_chf; zir1_eur;zir1_usd;zir1_oth), wich I do through sum of ranges, which is fine

Column BColumn C
lines to be considered from data sourceformula that works
Line 422=SUM(ZIR1_CHF:ZIR1_OTH!N22)
Line 525=SUM(ZIR1_CHF:ZIR1_OTH!N25)


The issue I have is that the sequence of lines on my summary does not follow the sequence of my source.

I have tried to nest the following formula but it does not work:

=SUM(INDIRECT("ZIR1_CHF:ZIR1_OTH!N"&CELL("contents";B4)))

thanks in advance for your help
 

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number
Try in this syntax =SUM(ZIR1_CHF:INDIRECT("ZIR1_OTH!N"&B4)),

I Suppose it should work
 
Upvote 0
It's not clear to me what you are actually trying to sum! Are you trying to sum multiple sheets for Cell N22?
 
Upvote 0

Forum statistics

Threads
1,214,983
Messages
6,122,583
Members
449,089
Latest member
Motoracer88

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