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.
 

Some videos you may like

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.

Joe4

MrExcel MVP, Junior Admin
Joined
Aug 1, 2002
Messages
55,916
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]
 

Watch MrExcel Video

Forum statistics

Threads
1,122,519
Messages
5,596,635
Members
414,083
Latest member
Mrsash

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