returning 3rd column based on 2 columns matching

mcollier16

New Member
Joined
May 18, 2016
Messages
2
I want to return column C of sheet1 when column A & B of sheet 2 match sheet 1... but there are multiple entries that i would like returned in separate columns based on column A & B matching (which may vary in qty)... I want each unique cell from column C, Sheet 1 to appear in the attribute name columns of sheet 2

I've never attempted something this large and i would greatly appreciate any pointers or help!!!


Sheet 2

AA AB AC AD AE AF AG AH AI AJ
NounModifierAttribute Name1Attribute Value1Attribute Name2Attribute Value2Attribute Name3Attribute Value3Attribute Name4Attribute Value4Attribute Name5Attribute Value5Attribute Name6Attribute Value6Attribute Name7Attribute Value7Attribute Name8Attribute Value8Attribute Name9Attribute Value9Attribute Name10

BEARING

SLEEVE
PLAIN1-3/8"1-5/8"2-1/2"OIL IMPREGNATED BRONZE
SLEEVECOUPLINGINSERT

INSERT

THREADED
9/16"

<tbody>
</tbody><colgroup><col><col><col><col><col><col><col><col><col><col><col><col><col><col><col><col><col><col><col><col><col></colgroup>





Sheet1

A B C
NOUNMODIFIERATTRIBUTE

<tbody>
</tbody><colgroup><col><col><col></colgroup>
INSERTTABSIZE
INSERTTABMATERIAL
INSERTTABCOLOR
INSERTTABTYPE
INSERTTABADDITIONAL INFORMATION
INSERTTHREADEDSIZE
INSERTTHREADEDLENGTH
INSERTTHREADEDID
INSERTTHREADEDOD
INSERTTHREADEDTHREAD SIZE
INSERTTHREADEDDRILL SIZE
INSERTTHREADEDTAP SIZE
INSERTTHREADEDMATERIAL
INSERTTHREADEDTYPE
INSERTTHREADEDADDITIONAL INFORMATION

<tbody>
</tbody><colgroup><col><col><col></colgroup>
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
I found this from another thread and was able to modify it to work as long as the cells aren't empty which is fine... but it still only gives me the first attribute in the list

=IF(Clean!AJ2="","",IFERROR(INDEX(Noun!$C:$C,SMALL(IF((Noun!$A:$A=Clean!$AD2)*(Noun!$B:$B=Clean!$AE2),ROW(Noun!$A:$A)),COLUMNS(Clean!$AJ2:AJ2))),""))
 
Upvote 0

Forum statistics

Threads
1,214,614
Messages
6,120,530
Members
448,969
Latest member
mirek8991

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