#1   Report Post  
scott45
 
Posts: n/a
Default Lookup help!!

I always have trouble with lookups. I will try and explain what I need. I
have information in two different cells.
cellE22 is 24.5
cell f22 is 0.7

I have a table made across the top this is degrees this is where 24.5 would
be along BP4:Cu4 It starts at <.5 degrees and goes up to 30 degrees although
I do not have it in decimal points just whole numbers 1-2-3-4-5-6-7 etc
In coulmn BP6:bp32 I have the other number I need to look up. It starts at
0.4 and ends at 3.0
In the cells BP4:CU 32 are the set values
I need to lookup the set value of 0.7 in realationship with 24.5 degrees. I
hope I have explained this correctly. Is this possible to do. To lookup two
different values and return the set value.
Thanks in adavance
scott
  #2   Report Post  
mbarron
 
Posts: n/a
Default Lookup help!!

You can do this by combining the Index and Match functions
=INDEX(your range,MATCH(row value,rows to look in),MATCH(column
value,columns to look in))


It looks like you formula would be:
=index(BP4:CU32,match(F22,BP4:BP32),match(E22,BP4: CU4))

  #3   Report Post  
scott45
 
Posts: n/a
Default Lookup help!!

Hey this helps allot but will it make a diffenrence If my degrees (row across
the top) is not the same. I have it in whole degrees and not in tenths?
Because The number that I am returning with your formula is not correct. But
I am closer than I have ever been. I will keep working also. Thanks Scott

"mbarron" wrote:

You can do this by combining the Index and Match functions
=INDEX(your range,MATCH(row value,rows to look in),MATCH(column
value,columns to look in))


It looks like you formula would be:
=index(BP4:CU32,match(F22,BP4:BP32),match(E22,BP4: CU4))


  #4   Report Post  
scott45
 
Posts: n/a
Default Lookup help!!

Hey thanks allot I was looking at your formula and I typed in one wrong
column it works perfect thanks so much. I am however not real sure on
understanding the index and match but thanks again

"mbarron" wrote:

You can do this by combining the Index and Match functions
=INDEX(your range,MATCH(row value,rows to look in),MATCH(column
value,columns to look in))


It looks like you formula would be:
=index(BP4:CU32,match(F22,BP4:BP32),match(E22,BP4: CU4))


  #5   Report Post  
scott45
 
Posts: n/a
Default Lookup help!!

One more question. On this formula if there is not information in g22 or f22
I get a #NA, is there a way to hide this

Thanks scott


"mbarron" wrote:

You can do this by combining the Index and Match functions
=INDEX(your range,MATCH(row value,rows to look in),MATCH(column
value,columns to look in))


It looks like you formula would be:
=index(BP4:CU32,match(F22,BP4:BP32),match(E22,BP4: CU4))




  #6   Report Post  
scott45
 
Posts: n/a
Default Lookup help!!

Hey thanks again I took care of my error I just stuck an If function in there
to show 0

thanks again scott


"mbarron" wrote:

You can do this by combining the Index and Match functions
=INDEX(your range,MATCH(row value,rows to look in),MATCH(column
value,columns to look in))


It looks like you formula would be:
=index(BP4:CU32,match(F22,BP4:BP32),match(E22,BP4: CU4))


  #7   Report Post  
Phillycheese5
 
Posts: n/a
Default Lookup help!!


If I understand it correctly, you basically are looking for a single
value if given a value in the column and a value in a row (like a
multiplication table). In that case, you can use the following
formula:

in general:
=INDEX(table range including headers,MATCH(value in column,column
range,0),MATCH(row value,row range,0))

in your case:
=INDEX($BP$4:$CU$32,MATCH(value in column,$BP$4:$BP$32,0),MATCH(row
value,$BP$4:$CU$4,0))

...where "value in column" and "value in row" are the inputs to get an
intersection data point. You can make them cell sepcific so a user can
type the row value in A1 and column value in A2.

Hope this helps,
Phillycheese


--
Phillycheese5
------------------------------------------------------------------------
Phillycheese5's Profile: http://www.excelforum.com/member.php...o&userid=24196
View this thread: http://www.excelforum.com/showthread...hreadid=480109

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
Another way to lookup data David Vollmer Excel Worksheet Functions 1 September 23rd 05 05:16 AM
Lookup Vector > Lookup Value Alec Kolundzic Excel Worksheet Functions 6 June 10th 05 02:14 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 03:28 AM
Lookup function w/Text and Year Josh O. Excel Worksheet Functions 1 February 12th 05 11:27 PM
double lookup, nest, or macro? Josef.angel Excel Worksheet Functions 1 October 29th 04 09:50 AM


All times are GMT +1. The time now is 09:13 AM.

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

About Us

"It's about Microsoft Excel"