Help - Formula Not Working

Delta Star

Board Regular
Joined
Oct 28, 2009
Messages
184
I'm using the formula below to total some hours but it does not work:-

HTML:
=SUMPRODUCT(--(Filter2!$E$2:$E$179=$A1),--(Filter2!$A$2:$A$179>=Calcs!IC$6),--(Filter2!$A$2:$A$179<=Calcs!IC$7),Filter2!$G$2:$G$179)

If I remove this section --(Filter2!$A$2:$A$179<=Calcs!IC$7) it does but then the criteria have changed so the results are incorrect.

I have checked the data and everything is correct, so I can only assume that the formula is wrong.
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
I'm using the formula below to total some hours but it does not work:-

Code:
=SUMPRODUCT(
    --(Filter2!$E$2:$E$179=$A1),
    --(Filter2!$A$2:$A$179>=Calcs!IC$6),
    --(Filter2!$A$2:$A$179<=Calcs!IC$7),
    Filter2!$G$2:$G$179)

If I remove this section --(Filter2!$A$2:$A$179<=Calcs!IC$7) it does but then the criteria have changed so the results are incorrect.

I have checked the data and everything is correct, so I can only assume that the formula is wrong.

The formula has the correct syntax...

Note that:

10 >= 6

10 <= 8

would not count as 10 being between 6 and 8. You have
probably something like the foregoing, that is:

While some cells are satisfied thru...

Filter2!$A$2:$A$179>=Calcs!IC$6

but fail satisfy:

Filter2!$A$2:$A$179<=Calcs!IC$7

Would you check the data for this eventuality that is against
your expectations?
 
Upvote 0

Forum statistics

Threads
1,224,586
Messages
6,179,711
Members
452,939
Latest member
WCrawford

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