Solved

Sumif formula

Posted on 2012-12-27
5
281 Views
Last Modified: 2012-12-27
Hi, this is my current formula. Column A3:A1423 has values either "test" or "control". I need to keep the existing formula plus the "control" criteria. So if any of the cells in column A have the word "control" I need to proceed with my sumif formula.
 
=SUMIF($B$3:$B$1423,$A1430,D$3:D$1423)

Thanks
0
Comment
Question by:Ladkisson
  • 2
  • 2
5 Comments
 
LVL 39

Expert Comment

by:nutsch
ID: 38724073
if you're on excel 2007 or after:
=SUMIFS(D$3:D$1423,$B$3:$B$1423,$A1430,$A$3:$A$1423,"control")

if you're on excel 2003 or before
=SUMPRODUCT(D$3:D$1423*($B$3:$B$1423=$A1430)*($A$3:$A$1423="control"))
0
 
LVL 13

Expert Comment

by:Shanan212
ID: 38724087
=SUMIFS(D$3:D$1423,$B$3:$B$1423,$A1430,A$3:A$1423,"control")

Open in new window


Note that this portion doesn't look right

$A1430

^ Above will change if you drag down the formula. Whats your criteria for B column?
0
 

Author Comment

by:Ladkisson
ID: 38724128
The suggested formula did not work. Please refer to the attached file. I need to incorporate columns A & B and pull the totals from column C for the highlighted data. Thank you!
Sumif.xlsx
0
 
LVL 13

Accepted Solution

by:
Shanan212 earned 300 total points
ID: 38724180
See attached

It seems you only have numbers 700 and 1307
Sumif.xlsx
0
 

Author Closing Comment

by:Ladkisson
ID: 38724200
well I have more data....that was just a sample but your formula worked. Thank you!
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

How to quickly and accurately populate Word documents with Excel data, charts and images (including Automated Bookmark generation) David Miller (dlmille) Synopsis In this article you’ll learn how to use ExcelToWord! to copy data,charts, shapes …
This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
The view will learn how to download and install SIMTOOLS and FORMLIST into Excel, how to use SIMTOOLS to generate a Monte Carlo simulation of 30 sales calls, and how to calculate the conditional probability based on the results of the Monte Carlo …
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…

747 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

10 Experts available now in Live!

Get 1:1 Help Now