This is a manual solution with formulas and sorting.
Imagine the following data in columns A to E:
Enter the following formulas into columns G to K
=IFERROR(IF(VLOOKUP(D:D,A:B,2,FALSE)=E:E,1,2),3)
=IF(G:G<3,D:D,"")
=IFERROR(VLOOKUP(H:H,A:B,2,FALSE),"")
=D:D
=IFERROR(VLOOKUP(J:J,D:E,2,FALSE),"")
The column G sort by now shows:
1
if part and quantity matched 2
if only part matched 3
if nothing matched So if you now select data from A3:K10 and sort by column G (sort by) then it will result in this:
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.