SUMIF or IF Function?

B

BradP

I am creating a spredsheet to calculate our sales employees' bonuses.
Their bonus is a different % depending on what type of job it is and
who the sale person is.

Col A. - Job Name
Col B. - Type of Job (New, Renewal, Extra, Misc)
Col. C - Sales Personal ( Dave, Bob, Mark)
Col. D - Expenses
Col. E - Revenue
Col. F - Profit
Col. G - Profit %

I am trying to figure out the amount of each Type of Job per Sales
Person.

I was thinking the formual would be: IF Col B. = New and Col.C = Dave
than Sum Col. E .

Thank you for our help.
 
B

Bob Phillips

=SUMPRODCT(--(B2:B200="New"),--(C2:C200="Dave"),E2:E200)

Note that SUMPRODUCT doesn't work with complete columns, you have to specify
a range.

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)
 
B

BradP

I have never use the SUMPRODUCT, however I am get a error message when I
use that formula.
 
B

Bob Phillips

Sorry mis-spelt it

=SUMPRODUCT(--(B2:B200="New"),--(C2:C200="Dave"),E2:E200)

--
HTH

Bob Phillips

(remove nothere from email address 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