AxeTracks

asked on

# Excel 2010 - sum a row of values based on an adjacent cell's value

Row A has text entries of; Employee, Contractor, Temp

Row B has a number (cost)

I want to sum all the values in Row B that have an adjacent Row A value of "Employee"

Row B has a number (cost)

I want to sum all the values in Row B that have an adjacent Row A value of "Employee"

SOLUTION

membership

This solution is only available to members.

To access this solution, you must be a member of Experts Exchange.

ASKER CERTIFIED SOLUTION

membership

This solution is only available to members.

To access this solution, you must be a member of Experts Exchange.

ASKER

I'm sorry but I'm not understanding the anwsers. I've attached a simple file with example. I want D3 to be the sum of the values C6 through C10 which have the adjacent cell in row B equal to Employee

Can you try attaching again? I don't see an attachment in your question nor your comment.

ASKER

Bingo, your example worked for me teylyn. Thanks!

ASKER

thanks

for example if you have value starting in B2 and end value cell is B50

=SUM(B2:B50)