Lookup

F

fi.or.jp.de

Hi,

I have worksheet with data as follows :

Col A Col B
ABC 123
ABC 234
ABC 345
AC 456
AC 567
AC 678

In Another Sheet I have
Col A
If the user inputs the ABC in cell A2 then
I need in Col D
123
234
345

I was using formula
=INDEX(Sheet1!$B$1:$B$10,SMALL(IF($A$2=Sheet1!$A$1:$A$10,ROW(Sheet1!$A
$1:$A$10),""),ROW(1:1)),0)

I am looking for VBA solution.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

lookup 2
copying_data_using_FillHandle 1
Data Matching 1
Data Matching 1
Multi-Worksheet Sumproduct & Listing 3
find and replace data 3
Unique Counting With Multiple Criteria 9
Serial nos for unique records 2

Top