Question about SumIF

A

A Zhu

Hello,
I know this is really confusing, but...anyway....
Say for example I have 4 columns of data, the first contains, say, the
name of the sales man, second column contains the name of a client and
and the third column contains different projects and are mixed
together, the forth contains the number of hours of the sales man spend
on this particular client and in this particular project, a sales man
could spend time on multiple projects and of course, a client with
multiple project may be given to different salesman. Now I want to know
how many hours altogether does a parituclar salesman spend on all the
projects for a particular client by constructing a separate sheet in
this work book, is there a chance I could do that using sumif? Or is
there any better suggestion? Thanks a lot!

Regards,
Anyi
 
B

Bob Phillips

=SUMPRODUCT(--(A2:A100="Willy Loman"),--(B2:B200="Wagner Inc."),D2:D200)

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)
 

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