Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
melchman
 
Posts: n/a
Default LOOKUP() misses on last lookup

I am having some trouble with LOOKUP()

Sample Data:
A B
Jim AA
Joe AA
Jack AA
3 AA Count
Billy GG
Bobby GG
2 GG Count
5 Grand Count



=LOOKUP("GG Count", $B$1:$B$20, $A$1:$A$20)

Retrun 5, not 2 as expected

=LOOKUP("AA Count", $B$1:$B$20, $A$1:$A$20)

Returns 3, as expected

What am I doing wrong?

  #2   Report Post  
Posted to microsoft.public.excel.misc
davesexcel
 
Posts: n/a
Default LOOKUP() misses on last lookup


melchman Wrote:
I am having some trouble with LOOKUP()

Sample Data:
A B
Jim AA
Joe AA
Jack AA
3 AA Count
Billy GG
Bobby GG
2 GG Count
5 Grand Count



=LOOKUP("GG Count", $B$1:$B$20, $A$1:$A$20)

Retrun 5, not 2 as expected

=LOOKUP("AA Count", $B$1:$B$20, $A$1:$A$20)

Returns 3, as expected

What am I doing wrong?


Hi
I copied and pasted your data and formulas, they both seem to work for
me


--
davesexcel
------------------------------------------------------------------------
davesexcel's Profile: http://www.excelforum.com/member.php...o&userid=31708
View this thread: http://www.excelforum.com/showthread...hreadid=527332

  #3   Report Post  
Posted to microsoft.public.excel.misc
John James
 
Posts: n/a
Default LOOKUP() misses on last lookup


Tried replicating your problem unsuccessfully. The values returned in
my test matched your original expectations. Perhaps you should post
your cut-down file.


--
John James
------------------------------------------------------------------------
John James's Profile: http://www.excelforum.com/member.php...o&userid=32690
View this thread: http://www.excelforum.com/showthread...hreadid=527332

  #4   Report Post  
Posted to microsoft.public.excel.misc
melchman
 
Posts: n/a
Default LOOKUP() misses on last lookup


I consolidated the file to 50 entries and reformed the LOOKUP()s


+-------------------------------------------------------------------+
|Filename: LookupBook.zip |
|Download: http://www.excelforum.com/attachment.php?postid=4583 |
+-------------------------------------------------------------------+

--
melchman
------------------------------------------------------------------------
melchman's Profile: http://www.excelforum.com/member.php...o&userid=33159
View this thread: http://www.excelforum.com/showthread...hreadid=527332

  #5   Report Post  
Posted to microsoft.public.excel.misc
davesexcel
 
Posts: n/a
Default LOOKUP() misses on last lookup


Try this I get nine instead of Fourty Nine

=COUNTIF($B$100:$B$153,"UNDERWRITERS")


--
davesexcel
------------------------------------------------------------------------
davesexcel's Profile: http://www.excelforum.com/member.php...o&userid=31708
View this thread: http://www.excelforum.com/showthread...hreadid=527332

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
Lookup function w/Text and Year Josh O. Excel Worksheet Functions 1 February 12th 05 11:27 PM
lookup misses the first entry in table Spunky Excel Worksheet Functions 1 January 17th 05 08:29 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 09:22 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"