#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Match

I can't understand why my lookup formula can't find the SqRect_LBL values.
The cell in E100 should read SqTube. What am I doing wrong?
=IF(ISNA(MATCH(C100,'bt_rev_10-10-07.xls'!SqRect_LBL,0)),"BOGUS","SqTube")
Cell C100 = 4x4x.375.
The tables are in a workbook named TBL_PIPE.
The SqRect_LBL is found at =TBL_PIPE!$AE$4:$AE$520.
The SqRect_TBL is found at =TBL_PIPE!$AE$4:$AH$520.

I checked the text in the cells and the only difference I could find were
the column widths are different and the lookup LBL had a 0 in front of .375.
I removed the 0 but no effect. Cell E100 and the matching cell in my lookup
table are the same length.

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 187
Default Match

The syntax of MATCH is =MATCH(lookup value, lookup array, [type]).

You don't have a lookup array.


On Nov 5, 2:24 pm, kcdilloo
wrote:
I can't understand why my lookup formula can't find the SqRect_LBL values.
The cell in E100 should read SqTube. What am I doing wrong?
=IF(ISNA(MATCH(C100,'bt_rev_10-10-07.xls'!SqRect_LBL,0)),"BOGUS","SqTube")
Cell C100 = 4x4x.375.
The tables are in a workbook named TBL_PIPE.
The SqRect_LBL is found at =TBL_PIPE!$AE$4:$AE$520.
The SqRect_TBL is found at =TBL_PIPE!$AE$4:$AH$520.

I checked the text in the cells and the only difference I could find were
the column widths are different and the lookup LBL had a 0 in front of .375.
I removed the 0 but no effect. Cell E100 and the matching cell in my lookup
table are the same length.



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 863
Default Match

You don't have a lookup array.

The 2nd argument in the formula refers to 'bt_rev_10-10-07.xls'!SqRect_LBL

and the OP says

The SqRect_LBL is found at =TBL_PIPE!$AE$4:$AE$520.


Maybe SqRect_LBL is not a workbook-level name?

OTOH, if he created the formula by pointing to the range, the reference should be correct.
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 187
Default Match

You may be correct that SqRect_LBL is a named range. I do not tend to
use named ranges and so do not think of them when I look at the syntax
of a function.

Dave

On Nov 5, 2:50 pm, Myrna Larson
wrote:
You don't have a lookup array.


The 2nd argument in the formula refers to 'bt_rev_10-10-07.xls'!SqRect_LBL

and the OP says

The SqRect_LBL is found at =TBL_PIPE!$AE$4:$AE$520.


Maybe SqRect_LBL is not a workbook-level name?

OTOH, if he created the formula by pointing to the range, the reference should be correct.



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 347
Default Match

Hi,
If you're dealing with text then you might have extra spaces at the end, try
this:

=IF(ISNA(MATCH(TRIM(C100),TRIM('bt_rev_10-10-07.xls'!SqRect_LBL),0)),"BOGUS","SqTube")

HTH
Jean-Guy

"kcdilloo" wrote:

I can't understand why my lookup formula can't find the SqRect_LBL values.
The cell in E100 should read SqTube. What am I doing wrong?
=IF(ISNA(MATCH(C100,'bt_rev_10-10-07.xls'!SqRect_LBL,0)),"BOGUS","SqTube")
Cell C100 = 4x4x.375.
The tables are in a workbook named TBL_PIPE.
The SqRect_LBL is found at =TBL_PIPE!$AE$4:$AE$520.
The SqRect_TBL is found at =TBL_PIPE!$AE$4:$AH$520.

I checked the text in the cells and the only difference I could find were
the column widths are different and the lookup LBL had a 0 in front of .375.
I removed the 0 but no effect. Cell E100 and the matching cell in my lookup
table are the same length.

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
MATCH Multiple Criteria & Return Previous / Penultimate Match Sam via OfficeKB.com Excel Worksheet Functions 27 October 6th 07 01:39 AM
index match array function-returning only first match, need last. Julie Olsen Excel Worksheet Functions 3 December 29th 06 12:50 AM
Lookup? Match? pulling rows from one spreadsheet to match a text f cjax Excel Worksheet Functions 3 July 21st 06 02:51 PM
index,match,match on un-sorted data Brisbane Rob Excel Worksheet Functions 3 September 24th 05 10:04 PM
When MATCH and v/hLOOKUP functions *FAIL* to match (but they should)... [email protected] Excel Worksheet Functions 2 April 6th 05 09:59 PM


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