SUMPRODUCT Issue

oddworld

Active Member
Joined
May 31, 2005
Messages
250
hi all I would really appreciate some assistance with a sumproduct issue.
my current formula is looking up an employee number in sheet summary from a2 and a proficiency number in g1, then check to see if that employee has that proficiency recorded within table Accomp and return a yes or no.

what I need help with is I need to add an and or statement. I need to add another proficiency number listed in sheet summary cell and n1 and still return a yes or no. So look up employee and look for the two proficiencies listed I g1,n1 and return yes/no

This what I am using atm

=IF(SUMPRODUCT(--(Accomp!$A$2:$A$40000=Summary!A3),--(Accomp!$K$2:$K$40000=Summary!$G$1))=1,"Yes","No")

Regards,
Odd
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
hi, the summary sheet contains a unique list of pers id numbers in column A, and proficiency numbers are in g1 & n1. the source data is in sheet Accomp - pers id in column A and proficiency numbers in column K. I need the formula to answer if an employee has either a proficiency listed in G1 or N1. An employee wont have both it will be one or the other.
 
Upvote 0
hi, the summary sheet contains a unique list of pers id numbers in column A, and proficiency numbers are in g1 & n1. the source data is in sheet Accomp - pers id in column A and proficiency numbers in column K. I need the formula to answer if an employee has either a proficiency listed in G1 or N1. An employee wont have both it will be one or the other.

=IF(SUMPRODUCT(--(Accomp!$A$2:$A$40000=Summary!A3),--(Accomp!$K$2:$K$40000=Summary!$G$1))=1,"Yes","No")

In B3 of Summary enter and copy down:

=IF(SUMPRODUCT(COUNTIFS(Accomp!$A$2:$A$40000,$A3,Accomp!$K$2:$K$40000,CHOOSE({1,2},$G$1,$N$1))),"yes","no")
 
Upvote 0

Forum statistics

Threads
1,224,829
Messages
6,181,218
Members
453,024
Latest member
Wingit77

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