#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 709
Default lookup

The standard LOOKUP function (vector) requires that "The values in
lookup_vector must be placed in ascending order: ...,-2, -1, 0, 1, 2, ...,
A-Z, FALSE, TRUE; otherwise, LOOKUP may not give the correct value. Uppercase
and lowercase text are equivalent."

This is not convenient for me. The values I have in lookup_vector must
remain unsorted.

Is there a way to do this?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 25
Default lookup

Edit your formula and in the range box try typing false. This should return
what you are looking for.

"Richard" wrote:

The standard LOOKUP function (vector) requires that "The values in
lookup_vector must be placed in ascending order: ...,-2, -1, 0, 1, 2, ...,
A-Z, FALSE, TRUE; otherwise, LOOKUP may not give the correct value. Uppercase
and lowercase text are equivalent."

This is not convenient for me. The values I have in lookup_vector must
remain unsorted.

Is there a way to do this?

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,688
Default lookup

There is no range_lookup for LOOKUP. You must be thinking of VLOOKUP.

The OP will need to use either VLOOKUP or a combination of INDEX/MATCH and
set the range_lookup/match_type to 0 for an EXACT match. If you're looking
for an approximate match if an exact match is not found then you'll have to
post more detail.

Biff

"fluffymoore" wrote in message
...
Edit your formula and in the range box try typing false. This should
return
what you are looking for.

"Richard" wrote:

The standard LOOKUP function (vector) requires that "The values in
lookup_vector must be placed in ascending order: ...,-2, -1, 0, 1, 2,
...,
A-Z, FALSE, TRUE; otherwise, LOOKUP may not give the correct value.
Uppercase
and lowercase text are equivalent."

This is not convenient for me. The values I have in lookup_vector must
remain unsorted.

Is there a way to do this?



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 709
Default lookup

That works.
Thank you Biff.
BTW, you know any McFly's? ;)


"Biff" wrote:

There is no range_lookup for LOOKUP. You must be thinking of VLOOKUP.

The OP will need to use either VLOOKUP or a combination of INDEX/MATCH and
set the range_lookup/match_type to 0 for an EXACT match. If you're looking
for an approximate match if an exact match is not found then you'll have to
post more detail.

Biff

"fluffymoore" wrote in message
...
Edit your formula and in the range box try typing false. This should
return
what you are looking for.

"Richard" wrote:

The standard LOOKUP function (vector) requires that "The values in
lookup_vector must be placed in ascending order: ...,-2, -1, 0, 1, 2,
...,
A-Z, FALSE, TRUE; otherwise, LOOKUP may not give the correct value.
Uppercase
and lowercase text are equivalent."

This is not convenient for me. The values I have in lookup_vector must
remain unsorted.

Is there a way to do this?




  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,688
Default lookup

You're welcome!

Biff

"Richard" wrote in message
...
That works.
Thank you Biff.
BTW, you know any McFly's? ;)


"Biff" wrote:

There is no range_lookup for LOOKUP. You must be thinking of VLOOKUP.

The OP will need to use either VLOOKUP or a combination of INDEX/MATCH
and
set the range_lookup/match_type to 0 for an EXACT match. If you're
looking
for an approximate match if an exact match is not found then you'll have
to
post more detail.

Biff

"fluffymoore" wrote in message
...
Edit your formula and in the range box try typing false. This should
return
what you are looking for.

"Richard" wrote:

The standard LOOKUP function (vector) requires that "The values in
lookup_vector must be placed in ascending order: ...,-2, -1, 0, 1, 2,
...,
A-Z, FALSE, TRUE; otherwise, LOOKUP may not give the correct value.
Uppercase
and lowercase text are equivalent."

This is not convenient for me. The values I have in lookup_vector
must
remain unsorted.

Is there a way to do this?






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 05:40 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"