LOOKUP() misses on last lookup

M

melchman

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?
 
D

davesexcel

melchman said:
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
 
J

John James

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

davesexcel

Try this I get nine instead of Fourty Nine

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top