#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default LOOKUP skips cells

For some reason LOOKUP is skipping cells in an array.

Li'l help!

Thanks!
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,393
Default LOOKUP skips cells

Please explain "skipping".
Tell us what the data looks like and what formula you are using.
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
www.stfx.ca/people/bliengme
remove caps from email

"reddog_3d" wrote in message
...
For some reason LOOKUP is skipping cells in an array.

Li'l help!

Thanks!



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default LOOKUP skips cells

Here's my formula:

LOOKUP(A1, Main!$A$90:$A$99, Main!$J$90:$J$99)

what I'm trying to do is tell excel to check if A1 matches anything on
another workbook, if it does, then look at this column and return the
corresponding value in this column.

But for some weird reason it keeps skipping the first two cells in the
range! Like if A1 =Main!A90, it returns Main!J93. Or if A1 =Main!A91, it
returns Main!J94.

This formula works everywhere else - just not on these two cells (Main!A90
and Main!A91)!!!!

I've deleted everything and re-written from fresh, still does it.

If excel had a butt I'd kick it...

I've deleted
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default LOOKUP skips cells

LOOKUP requires that the lookup_vector be sorted in acsending order. If it
is sorted and there is not an exact match found then it will match the
closest value that is less than the lookup_value. If you're wanting exact
matches only try this alternative:

=INDEX(Main!$J$90:$J$99,MATCH(A1,Main!$A$90:$A$99, 0))

--
Biff
Microsoft Excel MVP


"reddog_3d" wrote in message
...
Here's my formula:

LOOKUP(A1, Main!$A$90:$A$99, Main!$J$90:$J$99)

what I'm trying to do is tell excel to check if A1 matches anything on
another workbook, if it does, then look at this column and return the
corresponding value in this column.

But for some weird reason it keeps skipping the first two cells in the
range! Like if A1 =Main!A90, it returns Main!J93. Or if A1 =Main!A91, it
returns Main!J94.

This formula works everywhere else - just not on these two cells (Main!A90
and Main!A91)!!!!

I've deleted everything and re-written from fresh, still does it.

If excel had a butt I'd kick it...

I've deleted



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 229
Default LOOKUP skips cells

=VLOOKUP(A1, Main!$A$90:$J$99, 10, FALSE)

On Nov 29, 11:51 pm, reddog_3d
wrote:
Here's my formula:

LOOKUP(A1, Main!$A$90:$A$99, Main!$J$90:$J$99)

what I'm trying to do is tell excel to check if A1 matches anything on
another workbook, if it does, then look at this column and return the
corresponding value in this column.

But for some weird reason it keeps skipping the first two cells in the
range! Like if A1 =Main!A90, it returns Main!J93. Or if A1 =Main!A91, it
returns Main!J94.

This formula works everywhere else - just not on these two cells (Main!A90
and Main!A91)!!!!

I've deleted everything and re-written from fresh, still does it.

If excel had a butt I'd kick it...

I've deleted




  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default LOOKUP skips cells

"10" is the column index. Does excel know I'm referring to another workbook
(Main!) and not the workbook A1 is in?

"iliace" wrote:

=VLOOKUP(A1, Main!$A$90:$J$99, 10, FALSE)

On Nov 29, 11:51 pm, reddog_3d
wrote:
Here's my formula:

LOOKUP(A1, Main!$A$90:$A$99, Main!$J$90:$J$99)

what I'm trying to do is tell excel to check if A1 matches anything on
another workbook, if it does, then look at this column and return the
corresponding value in this column.

But for some weird reason it keeps skipping the first two cells in the
range! Like if A1 =Main!A90, it returns Main!J93. Or if A1 =Main!A91, it
returns Main!J94.

This formula works everywhere else - just not on these two cells (Main!A90
and Main!A91)!!!!

I've deleted everything and re-written from fresh, still does it.

If excel had a butt I'd kick it...

I've deleted



  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default LOOKUP skips cells

This works!

excel survives the hangman for one more day...

awesome tool when it works, but when it doesn't I'd rather poke myself in
the eye with a stick than try to figure it out.

Thanks for all ya'lls help!

"iliace" wrote:

=VLOOKUP(A1, Main!$A$90:$J$99, 10, FALSE)

On Nov 29, 11:51 pm, reddog_3d
wrote:
Here's my formula:

LOOKUP(A1, Main!$A$90:$A$99, Main!$J$90:$J$99)

what I'm trying to do is tell excel to check if A1 matches anything on
another workbook, if it does, then look at this column and return the
corresponding value in this column.

But for some weird reason it keeps skipping the first two cells in the
range! Like if A1 =Main!A90, it returns Main!J93. Or if A1 =Main!A91, it
returns Main!J94.

This formula works everywhere else - just not on these two cells (Main!A90
and Main!A91)!!!!

I've deleted everything and re-written from fresh, still does it.

If excel had a butt I'd kick it...

I've deleted



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
Auto Filter skips first row billinr Excel Discussion (Misc queries) 4 April 2nd 23 04:25 PM
How do I set it so my tab key skips to the next cell not 6? twassyouth Excel Discussion (Misc queries) 2 October 15th 07 10:29 PM
Amortization with up front skips kmagolden Excel Worksheet Functions 1 October 26th 06 12:06 AM
can't tab to next cell skips to end of line? Donna Black Excel Discussion (Misc queries) 2 July 26th 06 11:41 AM
How come when I hit tab in excel it skips several cells? vav Excel Discussion (Misc queries) 1 April 26th 06 12:10 AM


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