#1   Report Post  
gordo
 
Posts: n/a
Default LOOKUP VALUES

Can someone please help
I have the following workbook with a selection of the data below:

INUMBR ILONGD WHHAND WHCOMM WHPEND WHSLOT01
175552 WHIRLPOOL AWM1404/4 1400RPM WASHER (AAB,5KG) 154 18 0 R4015
247294 BOSCH WFL2067 1000RPM WM(CLASIXX,A+AC,6) 111 2 0 R2023
247294 BOSCH WFL2067 1000RPM WM(CLASIXX,A+AC,6) 111 2 0 R4007
247294 BOSCH WFL2067 1000RPM WM(CLASIXX,A+AC,6) 111 2 0 R4018
247308 BOSCH WFO2467 1200RPM WM (CLASIXX,A+AB,6) 128 29 0 B1043
What i am trying to do is for example:
Inumber 247294 appears above 3 times with different locations , the
inumber being in A1-A1000 (Some Inumber appear more than once) and the
Locations in h1-h1000.
I have a seperate workbook with a list of Inumbr which is only
displayed once. What i want to do is bring back all the locations for
the Inumber.
For example : 247294 has three locations R2023,r4007,r4018. Using
vlookup only brings back the first location (r2023)and dosent allow the
second value and third respectively.
Is there any way of displaying these.
Note =cell is not an option (workbook changes)

Many thanks

Gordon

  #2   Report Post  
Ragdyer
 
Posts: n/a
Default

If your unique inumber list is in Column A of Book2,
And your data list is in Book1, as you said, from A1 to H1000,
Then enter this *array* formula in Column B of Book2, and copy across the
columns, as far as you think there are that many locations per inumber.
Then, copy down as needed, to reference the entire list of unique inumbers
in Column A.

=INDEX([Book1]Sheet1!$H$1:$H$1000,SMALL(IF([Book1]Sheet1!$A$1:$A$1000=$A1,RO
W([Book1]Sheet1!$A$1:$A$1000),""),COLUMN(A:A)))
--
Array formulas must be entered with CSE, <Ctrl <Shift <Enter, instead of
the regular <Enter, which will *automatically* enclose the formula in curly
brackets, which *cannot* be done manually.

You'll see the #NUM! error when you run out of locations to return.
--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------

"gordo" wrote in message
ups.com...
Can someone please help
I have the following workbook with a selection of the data below:

INUMBR ILONGD WHHAND WHCOMM WHPEND WHSLOT01
175552 WHIRLPOOL AWM1404/4 1400RPM WASHER (AAB,5KG) 154 18 0 R4015
247294 BOSCH WFL2067 1000RPM WM(CLASIXX,A+AC,6) 111 2 0 R2023
247294 BOSCH WFL2067 1000RPM WM(CLASIXX,A+AC,6) 111 2 0 R4007
247294 BOSCH WFL2067 1000RPM WM(CLASIXX,A+AC,6) 111 2 0 R4018
247308 BOSCH WFO2467 1200RPM WM (CLASIXX,A+AB,6) 128 29 0 B1043
What i am trying to do is for example:
Inumber 247294 appears above 3 times with different locations , the
inumber being in A1-A1000 (Some Inumber appear more than once) and the
Locations in h1-h1000.
I have a seperate workbook with a list of Inumbr which is only
displayed once. What i want to do is bring back all the locations for
the Inumber.
For example : 247294 has three locations R2023,r4007,r4018. Using
vlookup only brings back the first location (r2023)and dosent allow the
second value and third respectively.
Is there any way of displaying these.
Note =cell is not an option (workbook changes)

Many thanks

Gordon


  #3   Report Post  
Ron Rosenfeld
 
Posts: n/a
Default

On 26 Jun 2005 01:45:49 -0700, "gordo" wrote:

Can someone please help
I have the following workbook with a selection of the data below:

INUMBR ILONGD WHHAND WHCOMM WHPEND WHSLOT01
175552 WHIRLPOOL AWM1404/4 1400RPM WASHER (AAB,5KG) 154 18 0 R4015
247294 BOSCH WFL2067 1000RPM WM(CLASIXX,A+AC,6) 111 2 0 R2023
247294 BOSCH WFL2067 1000RPM WM(CLASIXX,A+AC,6) 111 2 0 R4007
247294 BOSCH WFL2067 1000RPM WM(CLASIXX,A+AC,6) 111 2 0 R4018
247308 BOSCH WFO2467 1200RPM WM (CLASIXX,A+AB,6) 128 29 0 B1043
What i am trying to do is for example:
Inumber 247294 appears above 3 times with different locations , the
inumber being in A1-A1000 (Some Inumber appear more than once) and the
Locations in h1-h1000.
I have a seperate workbook with a list of Inumbr which is only
displayed once. What i want to do is bring back all the locations for
the Inumber.
For example : 247294 has three locations R2023,r4007,r4018. Using
vlookup only brings back the first location (r2023)and dosent allow the
second value and third respectively.
Is there any way of displaying these.
Note =cell is not an option (workbook changes)

Many thanks

Gordon


You could adapt one of the solutions provided you in your very similar request
which you posted yesterday.


--ron
  #4   Report Post  
gordo
 
Posts: n/a
Default

Sorry i cant get the formula to work.Pls Help
I get #value error message

  #5   Report Post  
Ragdyer
 
Posts: n/a
Default

Did you enter the formula using CSE?

This is an *array* formula!

Repeating what I posted with the formula:
--
Array formulas must be entered with CSE, <Ctrl <Shift <Enter, instead of
the regular <Enter, which will *automatically* enclose the formula in curly
brackets, which *cannot* be done manually.

You must *ALSO* use CSE, if and every time you revise the formula!

Click in a cell that contains a formula that is returning the #VALUE! error.
THEN, click in the formula bar.
THEN, CSE!

Does that help?
--
Regards,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"gordo" wrote in message
ups.com...
Sorry i cant get the formula to work.Pls Help
I get #value error message




  #6   Report Post  
Meldoy
 
Posts: n/a
Default


Sorry not trying to jack the thread, just thought I would ask one of my
millions of questions dealing with the lookup function here.

I have a sheet that I am using to help me on a daily basis. To keep
from typing the same text constantly on a daily basis I have started to
use a lookup formula. To keep from constantly copy + pasting the formula
I did a conditional format. It works great, but what I need to know is
if there is any way I can not have to type the lookup value in one
place, then go down and delete it in another?

ie.

Cell B4 has a 1 causing C4 to bring up the text Reports Completed under
the heading Jobs done

Then under the heading Jobs running I would need to delete the 1 from
cell 10B so that it would not be there.

I know how lazy, but it will give me more time to do other jobs and not
have to worry about forgetting to remove anything from the Jobs Running
section or the Jobs waiting section.
Thanks in advance to anyone.


--
Meldoy
------------------------------------------------------------------------
Meldoy's Profile: http://www.excelforum.com/member.php...fo&userid=5449
View this thread: http://www.excelforum.com/showthread...hreadid=382290

Reply
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
Returning all values from a lookup - not just the first/last one Jim Burns Excel Worksheet Functions 2 June 20th 05 04:04 PM
Lookup Table Dilemma Karen Excel Worksheet Functions 2 June 10th 05 08:22 PM
Lookup Function - Specific Values Steve Elliott Excel Worksheet Functions 6 April 9th 05 07:15 PM
Multiple lookup value's rucker31 Excel Worksheet Functions 0 March 11th 05 11:17 PM
Need help with lookup and comparing values Steve Excel Worksheet Functions 7 January 30th 05 02:38 PM


All times are GMT +1. The time now is 08:26 PM.

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"