Solved

Sumif formula

Posted on 2012-12-27
5
305 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 Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Workbook link problems after copying tabs to a new workbook? David Miller (dlmille) Intro Have you either copied sheets to a new workbook, and after having saved and opened that workbook, you find that there are links back to the original sou…
This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
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…

820 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