Solved

Formula to only add the quantities in a column against a certain criteria in the next column

Posted on 2013-06-19
3
393 Views
Last Modified: 2013-06-19
Hi Experts

Probably an easy one but my brain isnt working today so help is required

There are two columns inside a spreadsheet, the one has a calculation in it and the next column has a simple yes or no against certain figures

How do I get the column with figures just to add the items with yes against them.

Many Thanks
J
0
Comment
Question by:spicecave
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 6

Accepted Solution

by:
Michael earned 500 total points
ID: 39258640
Hi,

you can use SUMIF:

=SUMIF(B2:B100,"yes",A2:A100)

where B2:B100 is the range of yes and no
and A2:A100 is the range to be summed
0
 
LVL 10

Expert Comment

by:GasperK
ID: 39258843
You format your data as a table, add a total row and say you want to sum in the figures column. To just get those figures, you would use filter and filter by another column and show only those with yes...

See attached

yes.xlsx

Hope this helps..
0
 

Author Closing Comment

by:spicecave
ID: 39258865
AH briliant !!

Many Thanks
J
0

Featured Post

Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

My experience with Windows 10 over a one year period and suggestions for smooth operation
In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
Learn how to create and modify your own paragraph styles in Microsoft Word. This can be helpful when wanting to make consistently referenced styles throughout a document or template.
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question