How Should i add a range to my SUMPRODUCT function

Dark0Prince

Active Member
Joined
Feb 17, 2016
Messages
433
=SUMPRODUCT(--(JOET!$H$1:$H$4999>=O29),--(JOET!$H$1:$H$4999<=P29),--(JOET!$A$1:$A$4999=8568),--(JOET!$G$1:$G$4999>=1000))

at the end of this formula it will count all cells with amounts >=1000
I just need that to say 1000-14999.99, but don't know how to write a range of amounts to look for.
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.

Joe4

MrExcel MVP, Junior Admin
Joined
Aug 1, 2002
Messages
63,315
Office Version
  1. 365
Platform
  1. Windows
Just repeat the last part, which also check to see if it is less than the other number, i.e.
Code:
[COLOR=#333333]=SUMPRODUCT(--(JOET!$H$1:$H$4999>=O29),--(JOET!$H$1:$H$4999<=P29),--(JOET!$A$1:$A$4999=8568),--(JOET!$G$1:$G$4999>=1000),[/COLOR][COLOR=#ff0000]--(JOET!$G$1:$G$4999<=14999.99)[/COLOR][COLOR=#333333])[/COLOR]
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,164,279
Messages
5,836,367
Members
430,424
Latest member
ALHK022

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
Top