LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Report Post  
Ragdyer
 
Posts: n/a
Default

Appreciate the feed-back.
--
Regards,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"ckl" wrote in message
...
Hi Again RagDyer,

it worked. Thank you very much!

"RagDyer" wrote:

Try this *array* formula in E2.


=INDEX(Sheet2!$B$1:$B$20,SMALL(IF(Sheet2!$A$1:$A$2 0=$A2,ROW($A$1:$A$20),""),
COLUMN(A1)))

Array formulas are entered with <Ctrl <Shift <Enter, where, when done
correctly, will *automatically* be enclosed in curly brackets, which
*cannot* be done manually.

Then, just drag aross and down.

If no (ISBN) match is found, or there are less then 3 P.O.'s, the #NUM!
error will display.
--

HTH,

RD
==============================================
Please keep all correspondence within the Group, so all may benefit!
==============================================

"ckl" wrote in message
...
Hi,

can anyone suggest a way to lookup multiple occurrences of a value in

excel
and return a value from a cell from a cell in the same row of each
occurrence. I want the values returned to each be in a separate cell.

thanks

e.g.

I want to put a lookup formula in columns e, f and g of row 2 in wkbk 1

that
would look at the isbn in a1, find it in wkbk 2, then return the first
occurrence 'po' for that isbn to e1, the second occurrence to f1 and

the
third occurrence to g1.
can anyone help??

workbook 1
a b c d e f g
1 isbn title price code
2 1234 dog 500 1
3 5678 cat 100 2
4 9101 rat 100 3
5 1121 pig 300 4

workbook 2
a b
1 isbn po
2 1234 abc
3 1234 xyz
4 5678 def
5 1121 xyz
6 1121 hij






 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel 2003 FAILS, but Excel 2000 SUCCEEDS ??? Richard Excel Discussion (Misc queries) 2 May 13th 23 11:46 AM
opening multiple instances of excel John B Excel Discussion (Misc queries) 4 January 28th 05 11:31 PM
Lookup Access data in Excel Chris Kellock Excel Worksheet Functions 1 December 28th 04 01:51 PM
Why do my links break when I burn multiple Excel files to a CD? akrr-rasmussen Excel Worksheet Functions 1 November 17th 04 02:39 AM
Excel Lookup Functions Paul Adams Excel Worksheet Functions 1 November 10th 04 02:40 PM


All times are GMT +1. The time now is 06:16 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"