Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 347
Default Any ideas why a reference that works will in 2003 has problems in

I am using a reference shown here =LOOKUP("X",Y11:Y15,X11:X15) to find a
number in a column to the right of an €œX€


0
X 1
2
3
4

In this example the x is next to the number 1, and should return that value-
however in 2007 excel it seems to show the value 4 when the x is next to the
2 ( or at least some other number).

Thoughts ideas?


george

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Any ideas why a reference that works will in 2003 has problems in

Works the same in both versions for me. Are you sure the "x" is the only
entry in the range? Might there be formula blanks?

Use this instead:

=INDEX(X11:X15,MATCH("x",Y11:Y15,0))

--
Biff
Microsoft Excel MVP


"george" wrote in message
...
I am using a reference shown here =LOOKUP("X",Y11:Y15,X11:X15) to find a
number in a column to the right of an "X"


0
X 1
2
3
4

In this example the x is next to the number 1, and should return that
value-
however in 2007 excel it seems to show the value 4 when the x is next to
the
2 ( or at least some other number).

Thoughts ideas?


george



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,651
Default Any ideas why a reference that works will in 2003 has problems in

On Sat, 19 Jul 2008 10:03:01 -0700, george
wrote:

I am using a reference shown here =LOOKUP("X",Y11:Y15,X11:X15) to find a
number in a column to the right of an “X”


0
X 1
2
3
4

In this example the x is next to the number 1, and should return that value-
however in 2007 excel it seems to show the value 4 when the x is next to the
2 ( or at least some other number).

Thoughts ideas?


george


Your formula seems to work fine here. Perhaps some issue with your data?
--ron
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 347
Default Any ideas why a reference that works will in 2003 has problems in

Hey thanks guys-
Ill give the index a try€¦. Out of curiosity why does the index work better
than a €œlookup€ ?

Cheers
george



"george" wrote:

I am using a reference shown here =LOOKUP("X",Y11:Y15,X11:X15) to find a
number in a column to the right of an €œX€


0
X 1
2
3
4

In this example the x is next to the number 1, and should return that value-
however in 2007 excel it seems to show the value 4 when the x is next to the
2 ( or at least some other number).

Thoughts ideas?


george

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Any ideas why a reference that works will in 2003 has problems in

The LOOKUP function works just fine, but under strict constraints. The
lookup_vector *must* be sorted in ascending order otherwise you'll get
incorrect results.

The combination of INDEX/MATCH gives more leeway in that the lookup_array
can be either sorted or unsorted.

--
Biff
Microsoft Excel MVP


"george" wrote in message
...
Hey thanks guys-
Ill give the index a try.. Out of curiosity why does the index work better
than a "lookup" ?

Cheers
george



"george" wrote:

I am using a reference shown here =LOOKUP("X",Y11:Y15,X11:X15) to find
a
number in a column to the right of an "X"


0
X 1
2
3
4

In this example the x is next to the number 1, and should return that
value-
however in 2007 excel it seems to show the value 4 when the x is next to
the
2 ( or at least some other number).

Thoughts ideas?


george



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
Getting a cell reference when a value is less than 0 in Excel Works Bob Excel Worksheet Functions 0 June 27th 07 03:10 PM
Spreadsheet SUM(C:C) or indeed any SUM no longer works Excel 2003 knowq.biz/video.htm Excel Worksheet Functions 14 November 13th 06 03:19 PM
Index match formula works in for one worksheet reference but not another [email protected] Excel Worksheet Functions 2 October 10th 06 06:35 PM
how do I convert a Works spreadsheet to Excel 2003 Mistermond Excel Discussion (Misc queries) 1 December 2nd 05 07:04 PM
Works 4.0(wks) needs to be converted to Excel 2003 BJB Excel Discussion (Misc queries) 2 July 15th 05 03:49 PM


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