Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a list of prices and sum them up in a cell at the right.

Next to some prices I have the work "select".

How do I calculate the sum of all prices which next to them have the word "select"?

enter image description here

share|improve this question
add comment

2 Answers 2

up vote 5 down vote accepted

You can use the function Sumifs()

=SUMIFS(A:A,B:B,"=select")
share|improve this answer
    
thanks, this is what worked for me: =SUMIFS(A3:A30;B3:B30;"=select") –  Edward Tanguay Aug 5 '11 at 10:22
add comment

I am trying to calculate the total of one cell (i5) of twelve months to get a yearly total. My formula was =SUM('January I5:DecemberI5!C30") does not work? I get #Name? How do you create the correct formula?

share|improve this answer
    
Kathy, welcome to superuser! Please post your question as new question and not as an answer to another question! Also, in your question, please elaborate a little more on the structure of the data you want to add - are the months in different worksheets or the same? –  Peter Albert Jan 9 '13 at 7:36
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.