sumproduct issue

gmazza76

Well-known Member
Joined
Mar 19, 2011
Messages
771
Office Version
  1. 365
Platform
  1. Windows
Good Afternoon,

I am trying to get a sumproduct to work as below

=IF($B14="","",SUMPRODUCT((SRDate>=$E$8)*(SRDate<$E$9)*(AgentComp=B14)*(Questions=D$13)))

The above record 0, but when i remove the First part ( referencing a column with the date in ) it works as follows collating the correct data.

=IF($B14="","",SUMPRODUCT((AgentComp=B14)*(Questions=D$13)))

I have used the following offset for the criteria for SRDate

=OFFSET(Completed!$B$3,0,0,COUNTA(Completed!$A:$A)-1,1)

Is there anyway i can get it to incorperate the date part as this is very important to the report i am trying to create.

Many Thanks
Gavin
 
It seems that the named range in column B is driven by the number of cells housing data in column A. Are AgentComp and Questions dynamic named ranges also.

Somehwere along the line you may get a #VALUE error, or ranges dependant on column A, which might give you a incomplete/false answer.

Hey Barry, ALOHA! :biggrin:
 
Upvote 0

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.

Forum statistics

Threads
1,224,595
Messages
6,179,798
Members
452,943
Latest member
Newbie4296

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