Doesn't cater for the third criteria as specified by the OP. See Bob or
Stefi's post for an answer that does though.
--
Regards
Ken....................... Microsoft MVP - Excel
Sys Spec - Win XP Pro / XL 97/00/02/03
----------------------------------------------------------------------------
It's easier to beg forgiveness than ask permission
----------------------------------------------------------------------------
Ken is right ... I read too quickly your post ...
Solution is with sumproduct()
Cheers
Carim
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.