Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
KJ KJ is offline
external usenet poster
 
Posts: 43
Default Look up a reference which has more than 1 exact match

I need to use some kind of a Lookup that will grab 2 references for the
Lookup conditions.

Look up a reference which has more than 1 exact match, so then i need to
look for a second condition which sets these apart.

I am using a Lookup command to get a value from a SQL table but the
following formula formats as text which the Lookup will not allow for a range
of cells.

So I thought I could use Match in two different conditions and reuse the
results in the Lookup, but it results in text which the Lookup will not use
for a range. is there a way to convert this answer to a format that Lookup
will accept?

="B" &MATCH(0.927,
Table_cppistons01_eng1_luHorzEndLockDia[[#All],[PinBoreSize]],0)&":"&"B"
&MATCH(0.927,Table_cppistons01_eng1_luHorzEndLockD ia[[#All],[PinBoreSize]],1)


Ultimately this is what i need to end up with.

=LOOKUP(5,B97:B104,D97:D104)

Or if there is a way to Lookup more than 1 reference and return a value.


--
Regards, KJ
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 464
Default Look up a reference which has more than 1 exact match

Try these Custom Functions
http://www.ozgrid.com/VBA/occurrence-lookup.htm
http://www.ozgrid.com/VBA/2-criteria-vlookup.htm
http://www.ozgrid.com/VBA/3-criteria-vlookup.htm
http://www.ozgrid.com/VBA/4-criteria-vlookup.htm
http://www.ozgrid.com/VBA/5-criteria-vlookup.htm





--
Regards
Dave Hawley
www.ozgrid.com



"KJ" wrote in message
...
I need to use some kind of a Lookup that will grab 2 references for the
Lookup conditions.

Look up a reference which has more than 1 exact match, so then i need to
look for a second condition which sets these apart.

I am using a Lookup command to get a value from a SQL table but the
following formula formats as text which the Lookup will not allow for a
range
of cells.

So I thought I could use Match in two different conditions and reuse the
results in the Lookup, but it results in text which the Lookup will not
use
for a range. is there a way to convert this answer to a format that Lookup
will accept?

="B" &MATCH(0.927,
Table_cppistons01_eng1_luHorzEndLockDia[[#All],[PinBoreSize]],0)&":"&"B"
&MATCH(0.927,Table_cppistons01_eng1_luHorzEndLockD ia[[#All],[PinBoreSize]],1)


Ultimately this is what i need to end up with.

=LOOKUP(5,B97:B104,D97:D104)

Or if there is a way to Lookup more than 1 reference and return a value.


--
Regards, KJ


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
Vlookup & exact match Munchkin Excel Worksheet Functions 4 September 2nd 09 10:24 PM
Find an exact match and go to that match Heath Excel Discussion (Misc queries) 0 February 12th 09 02:28 AM
Find Exact Match using INDEX, MATCH DoubleUU Excel Worksheet Functions 3 August 15th 08 02:42 PM
Match name not exact Samantha Excel Worksheet Functions 3 April 11th 06 01:12 PM
Getting an exact match Roland Excel Worksheet Functions 2 January 25th 05 05:00 AM


All times are GMT +1. The time now is 03:48 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"