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"
Microsoft Excel

Avatar of undefined
Last Comment
AxeTracks

8/22/2022 - Mon
SOLUTION
Alan

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
ukerandi

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
Ingeborg Hawighorst (Microsoft MVP / EE MVE)

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
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
Ingeborg Hawighorst (Microsoft MVP / EE MVE)

Can you try attaching again? I don't see an attachment in your question nor your comment.
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck
AxeTracks

ASKER
Bingo,  your example worked for me teylyn.  Thanks!
AxeTracks

ASKER
thanks