View Single Post
  #2   Report Post  
Domenic
 
Posts: n/a
Default


Pantryman Wrote:
Hi Domenic and Aladin,

the lookop solution worked but indeed not completely.
The

=INDEX(B1:B1000,MAX(IF(A1:A1000="Jack",ROW(A1:A100 0))))

gives a parameter list error.

Both column A and B contain empty cells. Could that be the problem?

Any other ideas maybe?


I'm not sure why you're getting that error, but make sure that you
enter the formula using CONTROL+SHIFT+ENTER and not just ENTER...

=INDEX(B:B,MAX(IF(A1:A1000="Bob",ROW(A1:A1000))))

Having said that, I would use the following formula instead that needs
to be entered using just ENTER...

=LOOKUP(2,1/(A1:A100="Bob"),B1:B100)

As Harlan has already pointed out, the formula is more efficient.


--
Domenic
------------------------------------------------------------------------
Domenic's Profile: http://www.excelforum.com/member.php...o&userid=10785
View this thread: http://www.excelforum.com/showthread...hreadid=275479