#1   Report Post  
Senior Member
 
Posts: 105
Default Complicated Look UP

Hello,

Could you please help design a lookup formula as shown in the attached spreadsheet ?
Thanks

Dumbo
Attached Files
File Type: zip Complicated Lookup.zip (11.0 KB, 52 views)
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 168
Default Complicated Look UP

On Thursday, April 11, 2013 4:44:54 PM UTC-7, Excel Dumbo wrote:
Hello,



Could you please help design a lookup formula as shown in the attached

spreadsheet ?

Thanks



Dumbo





+-------------------------------------------------------------------+

|Filename: Complicated Lookup.zip |

|Download: http://www.excelbanter.com/attachment.php?attachmentid=841|

+-------------------------------------------------------------------+







--

Excel Dumbo


In C2:

=VLOOKUP(A2,A2:B6,2,0)

A2 = TM72001. Instead of A2 as the lookup value, you could have a drop down list in say F1 with all the TM..... numbers.

Then the formula would look like this.
=VLOOKUP(F1,A2:B6,2,0)

Regards,
Howard
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,514
Default Complicated Look UP

I recommend that you learn how to design the data layouts so working
with them is less complicated, more intuitive, and so your projects
make for better productivity.

--
Garry

Free usenet access at http://www.eternal-september.org
Classic VB Users Regroup!
comp.lang.basic.visual.misc
microsoft.public.vb.general.discussion


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 168
Default Complicated Look UP

On Thursday, April 11, 2013 4:44:54 PM UTC-7, Excel Dumbo wrote:
Hello,



Could you please help design a lookup formula as shown in the attached

spreadsheet ?

Thanks



Dumbo





+-------------------------------------------------------------------+

|Filename: Complicated Lookup.zip |

|Download: http://www.excelbanter.com/attachment.php?attachmentid=841|

+-------------------------------------------------------------------+







--

Excel Dumbo


Maybe I missread your problem.

Try this in C2

=VLOOKUP(LEFT(F1,7),A2:B6,2,0)

Where TM72001-S1-K.Cantlon is in F1.

Does that do it?

Howard
  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,872
Default Complicated Look UP

Hi,

Am Thu, 11 Apr 2013 23:44:54 +0000 schrieb Excel Dumbo:

Could you please help design a lookup formula as shown in the attached
spreadsheet ?
Thanks

for this structure of a table you need two nested index/match formulas:
try:
=INDEX('Look up Data'!$B$19:$B$22,MATCH("PSR Rank "&INDEX('Look up Data'!$B$2:$B$12,MATCH(A2,LEFT('Look up Data'!$A$2:$A$12,7),0)),'Look up Data'!$A$19:$A$22,0))
and enter the array formula with CTRL+Shift+Enter

Regards
Claus Busch
--
Win XP PRof SP2 / Vista Ultimate SP2
Office 2003 SP2 /2007 Ultimate SP2


  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,872
Default Complicated Look UP

Hi again,

Am Fri, 12 Apr 2013 09:23:58 +0200 schrieb Claus Busch:

=INDEX('Look up Data'!$B$19:$B$22,MATCH("PSR Rank "&INDEX('Look up Data'!$B$2:$B$12,MATCH(A2,LEFT('Look up Data'!$A$2:$A$12,7),0)),'Look up Data'!$A$19:$A$22,0))
and enter the array formula with CTRL+Shift+Enter


a little bit shorter:
=VLOOKUP("PSR Rank "&VLOOKUP(A2,LEFT('Look up Data'!$A$2:$B$12,7),2,0),'Look up Data'!$A$19:$B$22,2,0)
and also enter with CTRL+Shift+Enter

or without array:
=SUMPRODUCT(--('Look up Data'!$A$19:$A$22="PSR Rank "&SUMPRODUCT(--(LEFT('Look up Data'!$A$2:$A$12,7)=A2),'Look up Data'!$B$2:$B$12)),'Look up Data'!$B$19:$B$22)


Regards
Claus Busch
--
Win XP PRof SP2 / Vista Ultimate SP2
Office 2003 SP2 /2007 Ultimate SP2
  #7   Report Post  
Senior Member
 
Posts: 105
Default

THanks a lot Claus. It worked. Thanks heaps
  #8   Report Post  
Senior Member
 
Posts: 105
Default

Thanks to Howard too for the input.
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
a little complicated Gaurav[_2_] Excel Worksheet Functions 7 March 18th 08 12:12 AM
Too Complicated For Me mehare Excel Discussion (Misc queries) 5 August 16th 06 02:57 PM
I can't believe how complicated this is... ChartsToBe Excel Programming 2 July 27th 06 11:44 PM
This is more complicated than it looks. dollarbill79 Excel Worksheet Functions 11 July 13th 06 11:33 PM
Something perhaps a little complicated brodiemac Excel Discussion (Misc queries) 3 June 13th 06 03:15 PM


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