Solved

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

Posted on 2013-06-19
3
396 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:Jase Alexander
[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:Gašper Kamenšek
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:Jase Alexander
ID: 39258865
AH briliant !!

Many Thanks
J
0

Featured Post

Enroll in June's Course of the Month

June’s Course of the Month is now available! Experts Exchange’s Premium Members, Team Accounts, and Qualified Experts have access to a complimentary course each month as part of their membership—an extra way to sharpen your skills and increase training.

Question has a verified solution.

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

Having trouble getting your hands on Dynamics 365 Field Service or Project Service trial? Worry No More!!!
You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.

734 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