Link to home
Start Free TrialLog in
Avatar of Ladkisson
LadkissonFlag for United States of America

asked on

Sum formula

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!
Avatar of Flyster
Flyster
Flag of United States of America image

Try this:

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

Flyster
How about this?

=IF(A1649="control",SUM(D2:D1649),"")
Avatar of Ladkisson

ASKER

this formula does not work
@Flyster - I could not get that formula to work either.  

@ladkisson - I've uploaded a sample that seems to work.
ee-2012122801a.xlsx
@Flyster - I thought I accepted your formula. I said that I had come up with the same answer. Did my acceptance not go through?
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),"")
sounds good.  sorry for the confusion.
ASKER CERTIFIED SOLUTION
Avatar of Flyster
Flyster
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial