Share via

=SUMIF

Anonymous
2011-12-02T03:11:04+00:00

I have a similar problem, I have tried the sandwich approach, the formula I have used is as follows =SUMIF(START:END!F5:F23,">0",START:END!K5:K23).  I have seven worksheets between the START and END sandwich.  The error reads #VALUE!.  Any suggestions much appreciated.

Microsoft 365 and Office | Excel | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

Anonymous
2011-12-02T04:12:22+00:00

=SUMIF(START:END!F5:F23,">0",START:END!K5:K23)

You can use SUM() to cover multiple cells within a single worksheet or a single cell through multiple worksheets, but you cannot use it to SUM() multiple cells through multiple worksheets.

Click the START worksheet's name tab to activate it then hold the Shift key down and click the FINISH worksheet's name tab. In a cell that is blank to all of the selected worksheets put in this formula,

=SUMIF(F5:F23, ">0", K5:K23)

That will place the formula on that cell (e.g. AA1 for example) in all of the worksheets you've selected.

On your summary page, you can now use SUM() to drill through the worksheets with,

=SUM(START:FINISH!AA1)

Was this answer helpful?

0 comments No comments

2 additional answers

Sort by: Most helpful
  1. Ashish Mathur 101.9K Reputation points Volunteer Moderator
    2011-12-04T00:07:33+00:00

    Hi,

    You essentiall want to perform a 3D sum.  Try this

    1. Assume sheet names are sheet1, sheet2, sheet etc.
    2. Enter these sheet names in a range of cells on your summary sheet, say I3:I5
    3. On any cell in the summary sheet, enter the following formula

    =SUMPRODUCT(SUMIF(INDIRECT(I3:I5&"!F5:F23"),">0",INDIRECT(I3:I5&"!K5:K23")))

    Hope this helps.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  2. Anonymous
    2011-12-02T04:31:12+00:00

    Thank you so much, much appreciated.   I have spent days trying to solve this one, thank you once again!!!

    Was this answer helpful?

    0 comments No comments