Dividing a sumifs() statement by another sumifs() statement - Problem: Second sumifs() not recognizing valid ranges.

OwenNeedsVBAHelp

New Member
Joined
Aug 22, 2023
Messages
6
Office Version
  1. 365
Platform
  1. Windows
Hi,

I am trying to divide the result of one sumifs() statement by the result of another sumifs() statement, but the sum range and criteria ranges referenced in the second statement are not working.The ranges are valid but they are not highlighted in the sheet and the formula returns an error. It doesn't return a specific error, just the generic "Looks like you are trying to type a formula but the syntax is wrong blah blah if you put an equal sign excel thinks its a formula blah blah." I've looked it over a million times but can't seem to identify what part is incorrect.

Below is the formula, please lmk what I'm doing wrong here. I know the parentheses aren't all necessary but I got to the point where I just started trying random stuff to make it work, I ran into the same problem even with efficient parentheses.

=((sumifs($H$2:$H$3195, $C$2:$C$3195, $v3, $J$2:$J$3195, <5))/(sumifs($Q$2:$Q$196, $J$2:$J$3195, <5, $C$2:$C$3195, $v3)))
 

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.
The two <5 should be in quotes "<5"
 
Upvote 0
Perhaps it should read:
=((sumifs($H$2:$H$3195, $C$2:$C$3195, $v3, $J$2:$J$3195, "<5"))/(sumifs($Q$2:$Q$3195, $J$2:$J$3195, "<5", $C$2:$C$3195, $v3)))
 
Upvote 0

Forum statistics

Threads
1,215,073
Messages
6,122,976
Members
449,095
Latest member
Mr Hughes

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