=SUMIFS Help

zone709

Well-known Member
Joined
Mar 1, 2016
Messages
2,125
Office Version
  1. 365
Platform
  1. Windows
Hi this first one works right.

=(SUMIFS($BZ$6:$BZ$77,$B$6:$B$77,"Carpenter")+SUMIFS($CD$6:$CD$77,$B$6:$B$77,"Carpenter"))/(BZ82+CD82)

This is doing the same, but I needed it from a different sheet. Its returning #DIV/0! and cant figure out why.

=(SUMIFS('Trade Templete'!$C$3:$C$68,'Trade Templete'!$B$3:$B$68,"Carpenter")+SUMIFS('Trade Templete'!$D$3:$D$68,'Trade Templete'!$B$3:$B$68,"Carpenter"))/(C73+D73)
 

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.
Are C73 and D73 also on sheet 'Trade Templete' or are the on the sheet with the formula?
 
Upvote 0
o that's it yes they are. This is why I come here when I'm stuck and need a second brain to help me. I just forgot about that. Soon as I read your reply I was like ooooooooooooooo. Gonna try now
 
Last edited:
Upvote 0
hi one last thing I ran into. Want to see if you would know.

=(SUMIFS('Trade Templete'!$F$3:$F$68,'Trade Templete'!$B$3:$B$68,"Carpenter")+SUMIFS('Trade Templete'!$G$3:$G$68,'Trade Templete'!$B$3:$B$68,"Carpenter"))/('Trade Templete'!H73)

This works right, but if there is 0 on return I get #DIV/0!. I rather get 0 or nothing like blank. Possible?
 
Upvote 0
You could wrap the entire thing in IFERROR like this:

=IFERROR((SUMIFS('Trade Templete'!$F$3:$F$68,'Trade Templete'!$B$3:$B$68,"Carpenter")+SUMIFS('Trade Templete'!$G$3:$G$68,'Trade Templete'!$B$3:$B$68,"Carpenter"))/('Trade Templete'!H73),0)
 
Last edited:
Upvote 0
You could wrap the entire thing in IFERROR like this:

=IFERROR((SUMIFS('Trade Templete'!$F$3:$F$68,'Trade Templete'!$B$3:$B$68,"Carpenter")+SUMIFS('Trade Templete'!$G$3:$G$68,'Trade Templete'!$B$3:$B$68,"Carpenter"))/('Trade Templete'!H73),0)

Thanks for the help. I didnt think of using this maybe because it was returning div rather then error. thanks
 
Upvote 0
You're welcome. Basically any result you get from a formula with #xxx ! is an error.
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,325
Members
452,635
Latest member
laura12345

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