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

I have the following formula

=VLOOKUP($A7,'Power List'!$B$2:$DP$441,25)

Column B in the table array has a formula which results in either 0 or a
unique number. Of course, this unique value corresponds to the desired
lookup value in column A.

The column index (in this case 25) has either text or numeric values.

The result I am receiving is not even close to what is expected. Is there a
limit on the size of a table array, or the column index? I have used vlookup
countless times in smaller tables that work, so I'm confused as to why it's
not working now.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,696
Default vlookup problem

Is this in a range lookup? Is column b sorted? If you add a ,0 at the end, it
will be an exact match lookup...

"Fellow Wanderer" wrote:

I have the following formula

=VLOOKUP($A7,'Power List'!$B$2:$DP$441,25)

Column B in the table array has a formula which results in either 0 or a
unique number. Of course, this unique value corresponds to the desired
lookup value in column A.

The column index (in this case 25) has either text or numeric values.

The result I am receiving is not even close to what is expected. Is there a
limit on the size of a table array, or the column index? I have used vlookup
countless times in smaller tables that work, so I'm confused as to why it's
not working now.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 14
Default vlookup problem

No, it is not in a range lookup, and yes, column b is sorted in ascending
order.

"Sean Timmons" wrote:

Is this in a range lookup? Is column b sorted? If you add a ,0 at the end, it
will be an exact match lookup...

"Fellow Wanderer" wrote:

I have the following formula

=VLOOKUP($A7,'Power List'!$B$2:$DP$441,25)

Column B in the table array has a formula which results in either 0 or a
unique number. Of course, this unique value corresponds to the desired
lookup value in column A.

The column index (in this case 25) has either text or numeric values.

The result I am receiving is not even close to what is expected. Is there a
limit on the size of a table array, or the column index? I have used vlookup
countless times in smaller tables that work, so I'm confused as to why it's
not working now.

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,696
Default vlookup problem

Any possible extra spaces at the end of either the lookup value or inside the
table?

Are cells numeric but not formatted as number?

You definitely have the formula correct...

"Fellow Wanderer" wrote:

No, it is not in a range lookup, and yes, column b is sorted in ascending
order.

"Sean Timmons" wrote:

Is this in a range lookup? Is column b sorted? If you add a ,0 at the end, it
will be an exact match lookup...

"Fellow Wanderer" wrote:

I have the following formula

=VLOOKUP($A7,'Power List'!$B$2:$DP$441,25)

Column B in the table array has a formula which results in either 0 or a
unique number. Of course, this unique value corresponds to the desired
lookup value in column A.

The column index (in this case 25) has either text or numeric values.

The result I am receiving is not even close to what is expected. Is there a
limit on the size of a table array, or the column index? I have used vlookup
countless times in smaller tables that work, so I'm confused as to why it's
not working now.

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 14
Default vlookup problem

I've checked and they are all formatted the same. The funny thing is that I
can get it to work if I make the lookup array smaller and only want about the
20th column.

That is what leads me to believe there is some kind of limit. I solved the
problem by using an offset and match function instead, but I'm still curious
about why it's not working.

Thanks for the help!

"Sean Timmons" wrote:

Any possible extra spaces at the end of either the lookup value or inside the
table?

Are cells numeric but not formatted as number?

You definitely have the formula correct...

"Fellow Wanderer" wrote:

No, it is not in a range lookup, and yes, column b is sorted in ascending
order.

"Sean Timmons" wrote:

Is this in a range lookup? Is column b sorted? If you add a ,0 at the end, it
will be an exact match lookup...

"Fellow Wanderer" wrote:

I have the following formula

=VLOOKUP($A7,'Power List'!$B$2:$DP$441,25)

Column B in the table array has a formula which results in either 0 or a
unique number. Of course, this unique value corresponds to the desired
lookup value in column A.

The column index (in this case 25) has either text or numeric values.

The result I am receiving is not even close to what is expected. Is there a
limit on the size of a table array, or the column index? I have used vlookup
countless times in smaller tables that work, so I'm confused as to why it's
not working now.



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,696
Default vlookup problem

Can't say I've gone THAT far across a row, but I've done 42 columns. Have you
tried changing to

=VLOOKUP($A7,'Power List'!$B$2:$Z$441,25)

since that's as far across as you'd need?

"Fellow Wanderer" wrote:

I've checked and they are all formatted the same. The funny thing is that I
can get it to work if I make the lookup array smaller and only want about the
20th column.

That is what leads me to believe there is some kind of limit. I solved the
problem by using an offset and match function instead, but I'm still curious
about why it's not working.

Thanks for the help!

"Sean Timmons" wrote:

Any possible extra spaces at the end of either the lookup value or inside the
table?

Are cells numeric but not formatted as number?

You definitely have the formula correct...

"Fellow Wanderer" wrote:

No, it is not in a range lookup, and yes, column b is sorted in ascending
order.

"Sean Timmons" wrote:

Is this in a range lookup? Is column b sorted? If you add a ,0 at the end, it
will be an exact match lookup...

"Fellow Wanderer" wrote:

I have the following formula

=VLOOKUP($A7,'Power List'!$B$2:$DP$441,25)

Column B in the table array has a formula which results in either 0 or a
unique number. Of course, this unique value corresponds to the desired
lookup value in column A.

The column index (in this case 25) has either text or numeric values.

The result I am receiving is not even close to what is expected. Is there a
limit on the size of a table array, or the column index? I have used vlookup
countless times in smaller tables that work, so I'm confused as to why it's
not working now.

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 problem Mortir Excel Worksheet Functions 2 April 26th 07 10:48 AM
VLOOKUP problem yvette Excel Worksheet Functions 7 November 2nd 06 06:31 PM
Vlookup problem Graham Haughs Excel Worksheet Functions 3 February 1st 06 07:54 PM
Vlookup problem mariomaf Excel Worksheet Functions 11 January 5th 06 02:49 PM
VLookup problem [email protected] Excel Worksheet Functions 0 October 5th 05 12:52 PM


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