Sum in Across Sheet but Different Cell/Row, but the same column (K)

muhammad susanto

Well-known Member
Joined
Jan 8, 2013
Messages
2,077
Office Version
  1. 365
  2. 2021
Platform
  1. Windows
hi all...

i have question , how to sum/summary in across sheet in different cell
here my explained :


Excel 2007
DE
3sheet namecell/last row that contains value
4sheet1K10
5sheet2K12
6sheet3K5
7sheet4K20
8summary/total?
Sheet5


i hope somebody would give a solution/tricks...

m.susanto
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
Since you have the names of the sheets in, say, D4:D7 you can use the formula below to get the value (instead of the address) of the last cell in column K that contains a number

E4
=INDEX(INDIRECT("'"&D4&"'!K:K"),MATCH(9.99E+307,INDIRECT("'"&D4&"'!K:K")))
copy down

in E8
=SUM(D4:D7)

M.
 
Upvote 0
@MArcelo, do we need to use the Indirect function with inverted commas "" always ?
 
Upvote 0
@MArcelo, do we need to use the Indirect function with inverted commas "" always ?

I think you mean with apostrophe "'"
It's necessary (at the beginning and in the end) when the sheet name contains a space like, for example:
'Summary Sheet'

M.
 
Last edited:
Upvote 0
Hi,

In D4:D7 name of sheets
In E4 and down you can use:

=LOOKUP(9.99E+307,INDIRECT("'"&D4&"'!K:K"))

Then sum(E4:E7)
 
Upvote 0

Forum statistics

Threads
1,215,455
Messages
6,124,935
Members
449,195
Latest member
Stevenciu

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