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

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type
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,215,465
Messages
6,124,982
Members
449,201
Latest member
Lunzwe73

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