Link to home
Start Free TrialLog in
Avatar of AxeTracks
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"
SOLUTION
Avatar of Alan
Alan
Flag of New Zealand image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
you can use following formula
for example if you have value starting in B2 and end value cell is B50

=SUM(B2:B50)
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of AxeTracks
AxeTracks

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.
Bingo,  your example worked for me teylyn.  Thanks!
thanks