Thought this was simple, but not for me ;)
I have a customer.xls sheet and an orders.xls sheet. What I need to find
is the highest purchase date for each customer in customers.xls looking
up into orders.xls. Lookup is based on email address which is unique.
Even more simple is to find number of orders for each customer. Here I
thought that a countif would do the trick, but it just returns "0" :(
Don Guillett - 18 Jun 2007 21:03 GMT
This is an array formula that must be entered using ctrl+shift+enter
=MAX(IF(D2:D8="aaa",E2:E8))

Signature
Don Guillett
SalesAid Software
dguillett1@austin.rr.com
> Thought this was simple, but not for me ;)
>
[quoted text clipped - 4 lines]
> Even more simple is to find number of orders for each customer. Here I
> thought that a countif would do the trick, but it just returns "0" :(