View Single Post
 
Old 05-10-2018, 07:14 AM
SailorJerry7030 SailorJerry7030 is offline Windows 7 64bit Office 2016
Novice
 
Join Date: Apr 2018
Posts: 7
SailorJerry7030 is on a distinguished road
Default SumIf multiple sheets/books

Hello!

I'm trying to modify a SumIf to sum across multiple sheets (they are actually workbooks though). Below is the formula I have right now however it's not working. Example A and Example B are their own individual sheets in their own workbooks.

=sumproduct(SUMIF(Indirect("'"[Example A.xlsx]Schedule&[Example B.xlsx]Schedule"'!$U$13:$U$17"),$B40,Indirect("'"[Example A.xlsx]Schedule&[Example B.xlsx]Schedule"'!$V$13:$V$17)))


The goal here is to sum V13:V17 in Example A when criteria in B40 is met in range U13:U17 and to sum S13:S17 in Example B when criteria in B40 is met in range R13:R17. Obviously, I'm missing the ranges from Example B, but I was hitting my head against a wall and decided to come here for help.

I tried checking before and that's how I came across the sumproduct example but couldn't get it to work properly.

Any help is greatly appreciated! I've also posted a previous thread at this link:
https://www.mrexcel.com/forum/excel-...ets-books.html
Reply With Quote