sum of positive numbers From different sheets?

1Ionut1

New Member
Joined
Apr 19, 2022
Messages
2
Office Version
  1. 2021
Platform
  1. Windows
Hello, can you help me with a formula for sum of positive numbers From different sheets? I find =SUMPRODUCT(SUMIF(INDIRECT("'"&Sheetlist&"'!F23"),">0"), but i don't know how to define "Sheetlist". An Excel sample IT will be awesome..
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
Welcome to the MrExcel forum!

Here's a sample:

Book2
ABCDEF
1Sheets
2Sheet112
3Sheet2
4Sheet3
5
234
Sheet3
Cell Formulas
RangeFormula
C2C2=SUMPRODUCT(SUMIF(INDIRECT("'"&A2:A4&"'!F23"),">0"))
Named Ranges
NameRefers ToCells
SheetList=Sheet3!$A$2:$A$4C2


To define the SheetList Name, there are a few ways to do it. The easiest is to select the range with the sheet names in it (A2:A4 in this example), then in the range descriptor above it (which should now show A2), overtype the A2 with SheetList. You can also go to the Formulas tab, click on Name Manager, then New..., then enter the name and Refers to: box.

You can also just use the range in your formula:

Excel Formula:
=SUMPRODUCT(SUMIF(INDIRECT("'"&A2:A4&"'!F23"),">0"))

but a Name is more descriptive and makes the formula easier to read.
 
Upvote 0

Forum statistics

Threads
1,215,833
Messages
6,127,153
Members
449,366
Latest member
reidel

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