Solved

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

Posted on 2013-06-19
3
376 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
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

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

Technology opened people to different means of presenting information, but PowerPoint remains to be above competition. Know why PPT still works today.
Having trouble getting your hands on Dynamics 365 Field Service or Project Service trial? Worry No More!!!
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.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

776 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