#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 132
Default LOOKUP error

When I use the following formula:
=HLOOKUP(A11,INDIRECT("'"&$A11&"'!D2:H104"),3,FALS E)
with a lease number 003403 - everything is fine and the correct data is
returned.
When I use the formula with lease number 003403A, I received #NA in every
cell.
Is there a way to HLOOKUP an alpha numeric field with the formula I'm using?
Thanks,
Kelly
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 751
Default LOOKUP error

On Jun 6, 7:37 pm, Kelly wrote:
When I use the following formula:
=HLOOKUP(A11,INDIRECT("'"&$A11&"'!D2:H104"),3,FALS E)
with a lease number 003403 - everything is fine and the correct data is
returned.
When I use the formula with lease number 003403A, I received #NA in every
cell.
Is there a way to HLOOKUP an alpha numeric field with the formula I'm using?
Thanks,
Kelly


Kelly,

what values do you have in D2:D104?

Kostis Vezerides

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 109
Default LOOKUP error

Kelly

The HLookup formula, with the fourth argument False, as you have it,
should work with alphanumeric data. #NA is the response you should
get if there is not an exact match of A11 in the column D of the range
identified by your Indirect(...) function; so, it seems likely that
there is just not a match of A11 .
Good luck.

Ken
Norfolk, Va



On Jun 6, 12:47 pm, vezerid wrote:
On Jun 6, 7:37 pm, Kelly wrote:

When I use the following formula:
=HLOOKUP(A11,INDIRECT("'"&$A11&"'!D2:H104"),3,FALS E)
with a lease number 003403 - everything is fine and the correct data is
returned.
When I use the formula with lease number 003403A, I received #NA in every
cell.
Is there a way to HLOOKUP an alpha numeric field with the formula I'm using?
Thanks,
Kelly


Kelly,

what values do you have in D2:D104?

Kostis Vezerides



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 132
Default LOOKUP error

The D2:H4 is the following (column B content headings)
Store ID
Lessor
City
State
Abstraction Category
Lease term (months)
Possession date
Assignment Date
Lease commencement date
Rent commencement date
Term end date
Early termination notice date
Early termination date
Termination penalty
Early termination language
Early termination interpretation
Legal Entity
Type of Facility
Security deposit
Square feet
Fixed rent language
Fixed rent interpretation
Prorated rent, if any
First full month rent
Number of free months rent
Type(s) of rent escalations
Fixed rent escalation dates
Fixed rent escalation amounts
Notice requirements (months/days)
Notice date
CPI rent language
CPI rent interpretation
CPI information
Percent rent language
Percent rent interpretation
Percent of rent %
Percentage rent dates
Percentage rent hurdles
Common area rents
Lowest allowed rents
Type of T allowance
T allowance lease language
T allowance lease interpretation
T allowance amount
Transfer of ownership date
Purchase price at end of lease
Lease end language
Lease end interpretation

with the data across columns D through H.
Each tab is a lease number that is not always just numeric and can be
003403A. And it's when I add the letter at the end of the lease I
consistently receive the #NA response in all of my columns.
I hope that answers your question so you can answer mine :)
Kelly

"vezerid" wrote:

On Jun 6, 7:37 pm, Kelly wrote:
When I use the following formula:
=HLOOKUP(A11,INDIRECT("'"&$A11&"'!D2:H104"),3,FALS E)
with a lease number 003403 - everything is fine and the correct data is
returned.
When I use the formula with lease number 003403A, I received #NA in every
cell.
Is there a way to HLOOKUP an alpha numeric field with the formula I'm using?
Thanks,
Kelly


Kelly,

what values do you have in D2:D104?

Kostis Vezerides


  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 132
Default LOOKUP error

The worksheet label (e.g. 003402A) is set up exactly as the A11 cell. The A
column in formatted as text. The formulas in the columns work for lease
003402 but not lease 003402A.
Thanks
Kelly

" wrote:

Kelly

The HLookup formula, with the fourth argument False, as you have it,
should work with alphanumeric data. #NA is the response you should
get if there is not an exact match of A11 in the column D of the range
identified by your Indirect(...) function; so, it seems likely that
there is just not a match of A11 .
Good luck.

Ken
Norfolk, Va



On Jun 6, 12:47 pm, vezerid wrote:
On Jun 6, 7:37 pm, Kelly wrote:

When I use the following formula:
=HLOOKUP(A11,INDIRECT("'"&$A11&"'!D2:H104"),3,FALS E)
with a lease number 003403 - everything is fine and the correct data is
returned.
When I use the formula with lease number 003403A, I received #NA in every
cell.
Is there a way to HLOOKUP an alpha numeric field with the formula I'm using?
Thanks,
Kelly


Kelly,

what values do you have in D2:D104?

Kostis Vezerides




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
LOOKUP and #N/A Error Poody Excel Worksheet Functions 1 January 21st 07 11:32 AM
LOOKUP and #N/A Error Mike Excel Worksheet Functions 1 January 19th 07 08:13 PM
Lookup error Andmor Excel Discussion (Misc queries) 1 December 6th 06 10:51 PM
lookup error! via135 Excel Worksheet Functions 2 June 15th 06 08:55 PM
sum / lookup w error correction Robert Excel Worksheet Functions 4 August 28th 05 05:33 AM


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