Help Needed!!

DellNiv

New Member
Joined
Jan 30, 2017
Messages
18
Hi All,

Hoping there's an easy formula for this as I am having a blank moment.

So the below is a simple example of what I am trying to pull through in to column E.

I would like to look up multiple "Item Number" which are the same, sometimes theres 2/3/4 of the same items.

I would then like to pull through the content in "Item des" from what the "Currently Selling" line is into the "New Seller" line.

really hope this makes sense! I've manually filled in what I would like in Column E for reference too!


[TABLE="width: 562"]
<colgroup><col><col><col><col><col><col></colgroup><tbody>[TR]
[TD]1[/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Item Number [/TD]
[TD]Currently Selling[/TD]
[TD]New Seller[/TD]
[TD]Item des[/TD]
[TD]What I need to pull through[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]1[/TD]
[TD]Y[/TD]
[TD] [/TD]
[TD]01[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]1[/TD]
[TD] [/TD]
[TD]Y[/TD]
[TD]02[/TD]
[TD]01[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]2[/TD]
[TD]Y[/TD]
[TD] [/TD]
[TD]03[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]2[/TD]
[TD] [/TD]
[TD] [/TD]
[TD]04[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD]2[/TD]
[TD] [/TD]
[TD]Y[/TD]
[TD]05[/TD]
[TD]03[/TD]
[/TR]
[TR]
[TD]8[/TD]
[TD]3[/TD]
[TD] [/TD]
[TD] [/TD]
[TD]06[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]9[/TD]
[TD]3[/TD]
[TD]Y[/TD]
[TD] [/TD]
[TD]07[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]10[/TD]
[TD]3[/TD]
[TD] [/TD]
[TD] [/TD]
[TD]08[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]11[/TD]
[TD]3[/TD]
[TD] [/TD]
[TD]Y[/TD]
[TD]09[/TD]
[TD]07[/TD]
[/TR]
[TR]
[TD]12[/TD]
[TD]4[/TD]
[TD]Y[/TD]
[TD] [/TD]
[TD]10[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]13[/TD]
[TD]4[/TD]
[TD] [/TD]
[TD] [/TD]
[TD]11[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]14[/TD]
[TD]4[/TD]
[TD] [/TD]
[TD]Y[/TD]
[TD]12[/TD]
[TD]10[/TD]
[/TR]
[TR]
[TD]15[/TD]
[TD]4[/TD]
[TD] [/TD]
[TD] [/TD]
[TD]13[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]16[/TD]
[TD]4[/TD]
[TD] [/TD]
[TD] [/TD]
[TD]14[/TD]
[TD] [/TD]
[/TR]
</tbody>[/TABLE]

Thanks in advance!!

Dell
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
Try this in your E3 cell and drag down:

=IF(C3="Y",INDEX(D:D,AGGREGATE(15,6,ROW($B$3:$B$20)/(($A$3:$A$20=A3)*($B$3:$B$20="Y")),1)),"")
 
Last edited:
Upvote 0
Thanks Eric - What if I add another twist to this and say it won't always be a Y and could be a number of letters/words instead?
 
Upvote 0
Are you talking about the B or the C column? Can we look for any non-empty cell, or do you have an actual list of allowable values to accept?
 
Upvote 0
Like this?


Book1
ABCDEFG
1ABCDEYes Values
2Item NumberCurrently SellingNew SellerItem desWhat I need to pull throughY
31Y1 N
41JJ21TN
52Y3JN
624JJ
72N53QO
836OOO
93OOO7WQQ
1038
113Y97
124Y10
13411
144Y1210
154X13
16414
Sheet12
Cell Formulas
RangeFormula
E3=IF(ISNUMBER(MATCH(C3,$G$2:$G$9,0)),INDEX(D:D,AGGREGATE(15,6,ROW($B$3:$B$20)/(($A$3:$A$20=A3)*ISNUMBER(MATCH($B$3:$B$20,$G$2:$G$9,0))),1)),"")
 
Upvote 0

Forum statistics

Threads
1,224,819
Messages
6,181,153
Members
453,021
Latest member
Justyna P

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