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

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
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,223,886
Messages
6,175,189
Members
452,616
Latest member
intern444

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