match lookup multiple column

petercheunghk

New Member
Joined
Oct 18, 2022
Messages
2
Office Version
  1. 365
Platform
  1. Windows
Hello , all

i have an excel (3 Sheet ) Staff , PC and Monitor

Staff
Staff NamePC 1PC 2
Staff 1Demo PC1Demo PC2
Staff 2Demo PC3


PC
ItemLabelStatus 1Status 2
1​
Demo PC1AssignedNot Assigned
2​
Demo PC2Not AssignedNot Assigned
3​
Demo PC3AssignedNot Assigned

in a PC Table Status 1 i use is ok
Excel Formula:
=IFERROR(IF(MATCH(B2,Staff!$C:$C,0),"Assigned"),"Not Assigned")

because some user have 1 more pc , so i need to check multiple column, so i try
Excel Formula:
=IFERROR(IF(MATCH(B2,Staff!$C:$D,0),"Assigned"),"Not Assigned")
but is not work


May i know how to change to formula or any other formula can do this jobs
 

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number
Welcome to the MrExcel Message Board!

Cross-posting (posting the same question in more than one forum) is not against our rules, but the method of doing so is covered by #13 of the Forum Rules.

Be sure to follow & read the link at the end of the rule too!

Cross posted at: match lookup multiple column
If you have posted the question at more places, please provide links to those as well.

If you do cross-post in the future and also provide links, then there shouldn’t be a problem.
 
Upvote 0
Thank you ! excelforum.com kvsrinivasamurthy Provided
Excel Formula:
=IF(SUMPRODUCT(1*(Staff!$C$2:$F$3=$B2))>0,"Assigned","Not Assigned")
 
Upvote 0
Solution

Forum statistics

Threads
1,214,971
Messages
6,122,517
Members
449,088
Latest member
RandomExceller01

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