How to put an IF function with VLOOKUP with more than one matching entry!?

arunk8186

New Member
Joined
Mar 27, 2011
Messages
1
Hi friends,
I am sure this could be done but I am not able to do. Need a little help.

I have an excel sheet with first "A" column filled with Employee Names (unique without duplicates). In another sheet, I have "A" column filled with the same Employee names (with duplicates) and "B" column filed with their respective marks scored in different subjects like Marketing, HR, Finance, Operations etc.

Note that the data in "B" column has only all the mark listed with no way of differentiating which subject it is scored in.

I also put a COUNTIF to get the number of mark entries each employee has.

The pass mark is 40.

I want to know which all employees passed ALL the subjects. A simple VLOOKUP and IF function wcould help but VLOOKUP will compare only the first mark entry of the corresponding employee with 40 and give the result.

But I want to put a modified VLOOKUP/MATCH function which will help compare the all marks scored by each employee in ALL subjects with 40 and tell whether s/he passed or not.

Any suggestions/comments will be very much appreciated.

Thanks and Cheers:),
Arun
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
To count the number of marks greater than 40 for an employee:

=SUMPRODUCT(--(Sheet2!A1:A1000="Employee"),--(Sheet2!B1:B1000>40))

If that returns the same as your COUNTIF formula the employee passed all subjects.
 
Upvote 0

Forum statistics

Threads
1,224,548
Messages
6,179,445
Members
452,915
Latest member
hannnahheileen

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