Solved

Sum formula

Posted on 2012-12-28
8
251 Views
Last Modified: 2012-12-28
Hi! I need to sum data in column D2:D1649 based on the information in column A1:A1649 that has the word "control". In other words, if column A has "control" then I need to have a total for all the numeric data in column D. Thanks!
0
Comment
Question by:Ladkisson
  • 4
  • 2
  • 2
8 Comments
 
LVL 22

Expert Comment

by:Flyster
ID: 38728063
Try this:

=SUMIF($A1:$A$1649,"*control*",$B$1:$B$1649)

Flyster
0
 
LVL 12

Expert Comment

by:Jeff Darling
ID: 38728111
How about this?

=IF(A1649="control",SUM(D2:D1649),"")
0
 

Author Comment

by:Ladkisson
ID: 38728123
this formula does not work
0
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
LVL 12

Expert Comment

by:Jeff Darling
ID: 38728132
@Flyster - I could not get that formula to work either.  

@ladkisson - I've uploaded a sample that seems to work.
ee-2012122801a.xlsx
0
 

Author Comment

by:Ladkisson
ID: 38728137
@Flyster - I thought I accepted your formula. I said that I had come up with the same answer. Did my acceptance not go through?
0
 
LVL 12

Expert Comment

by:Jeff Darling
ID: 38728145
I was assuming that the cell contains exactly the word "control".

This will sum if the word control is found in cell A1649

=IF(FIND("control",A1649,1),SUM(D2:D1649),"")
0
 
LVL 12

Expert Comment

by:Jeff Darling
ID: 38728147
sounds good.  sorry for the confusion.
0
 
LVL 22

Accepted Solution

by:
Flyster earned 500 total points
ID: 38728373
@ Ladkisson,

There has been no acceptance on this question yet. I see others were having problems with my solution. Does it work for you?
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

Suggested Solutions

Introduction While answering a recent question (http:/Q_27311462.html), I created an alternative function to the Excel Concatenate() function that you might find useful.  I tested several solutions and share the results in this article as well as t…
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 use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

856 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