• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Data Extraction from Worksheet1 (ws1) for Worksheet2 (ws2)

My Query is:-

I have Raw Data in ws1, now I want to extract some required data without using pivot table & VBA in ws2

Data in ws1

Brand (InCell A1) Product (In Cell B1)

a 1

b 2

c 3

a 4

b 5

Now in ws2, I want to know the name of product (in different cells) we under Brand Name

a

b
 
Good day nishant859@yahoo.co.in


I think you may wish to shorten your ID name as it runs in to the question box and members will find it some what irritating.
 
Hi


Assuming your data is in A1:B6 including your column headers. In D1 = a & E1 = b.

Then in A2:

=IFERROR(INDEX($B$1:$B$6,SMALL(IF($A$1:$A$6=D$1,ROW($A$1:$A$6)-ROW($A$1)+1,""),ROW(A1))),"") This is an array formula: CTRL + SHIFT + ENTER


Copy across to B2 and down.
 
Back
Top