Forumla for multiple matches-

rawr19911

Board Regular
Joined
Jan 21, 2020
Messages
88
Office Version
  1. 2016
trying to think of a formula i was playing around with vlookup and ifs but cant figure out how to do this wanting to automate a way to state if a user took a class or did not take a class on transcripts
1696426516793.png
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
try this
-----------------------
Book1
ABCDEFGH
1usertypetitledid user take classtitle 1title 2title 3
2sample name 1onlinetitle 1sample name 1yesyesno
3sample name 2onlinetitle 1sample name 2yesyesno
4sample name 3nonoyes
5sample name 1onlinetitle 2
6sample name 2curriculumtitle 2
7sample name 3onlinetitle 3
Sheet1
Cell Formulas
RangeFormula
F2:H4F2=IFERROR(IF(INDEX($B$1:$B$7,MATCH(1,($E2=$A$1:$A$7)*(F$1=$C$1:$C$7),0))<>"","yes"),"no")
 
Upvote 0
Solution
try this
-----------------------
Book1
ABCDEFGH
1usertypetitledid user take classtitle 1title 2title 3
2sample name 1onlinetitle 1sample name 1yesyesno
3sample name 2onlinetitle 1sample name 2yesyesno
4sample name 3nonoyes
5sample name 1onlinetitle 2
6sample name 2curriculumtitle 2
7sample name 3onlinetitle 3
Sheet1
Cell Formulas
RangeFormula
F2:H4F2=IFERROR(IF(INDEX($B$1:$B$7,MATCH(1,($E2=$A$1:$A$7)*(F$1=$C$1:$C$7),0))<>"","yes"),"no")
this works i just gota understand it now to use it for what i need thanks ! :)
 
Upvote 0
  1. the index/match is looking to return the type for each user based on the title.
  2. the next part is looking to see if 1 returns a value then it shows yes
  3. if 1 returns an error because there is not a match for the user & title, then it returns no
 
Upvote 0

Forum statistics

Threads
1,216,075
Messages
6,128,662
Members
449,462
Latest member
Chislobog

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