Solved

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

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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Using Word 2013, I was experiencing some incredible lag when typing.  Here's what worked for me....
Outlook Free & Paid Tools
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.

758 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now