Link to home
Start Free TrialLog in
Avatar of Lazarus
LazarusFlag for United States of America

asked on

SUMPRODUCT with COUNTIFS

I have a formula that works, but I've had to alter the overall way things work due to speed issues. The old formula:

=SUMPRODUCT(COUNTIFS('DMS Credential '!A:A,A2,'DMS Credential '!L:L,{"PASS AB","PASS ECHO","PASS OB-GYN","PASS RVT"}))

I've added a name range: fm_6 to better handle the amount of rows. The formulas there is:

=OFFSET('DMS Credential '!$M$2,0,0,COUNTA('DMS Credential '!$A:$A)-1,1)

I can't seem to figure out how to get the formula that I started with to work properly with the COUNTIFS
Normally in a cell if I only had one possible answer I would just enter:

=SUMPRODUCT((fm=A2)*(fm_6="PASS AB"))

But I'm still trying to learn these more complicated formulas, any help would be great. Thanks
TEMPLATE-DMS-Tracking-20150618.xlsm
ASKER CERTIFIED SOLUTION
Avatar of Saurabh Singh Teotia
Saurabh Singh Teotia
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Lazarus

ASKER

You are very good on Excel to say the least. That's worked perfectly. I was trying something close, but was using * instead of +.
Thanks Lazarus...Always Happy to help.. :-)

Saurabh...