View Single Post
  #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