Thread
:
Sum calculation based on condition
View Single Post
#
5
Posted to microsoft.public.excel.worksheet.functions
Dave F
external usenet poster
Posts: 2,574
Sum calculation based on condition
You could use SUMPRODUCT.
Give us some information about your data and the conditions you want to test
for.
Dave
--
Brevity is the soul of wit.
"mniccole" wrote:
I have about 6 conditions I need to test for.
I couldn't remember if I could use sum if else
thanks
Don Guillett wrote:
Is there a reason the built in function SUMIF will not work? Look in the NON
vba help index.
--
Don Guillett
SalesAid Software
"mniccole" wrote in message
ups.com...
HI:
I need to be able to loop though column a & if a condition is true, I
need to caculate a sum in based on the value in column m..
I need to be able to display the count of the active cell & the sum of
column m &
loop though..I have numerous values I have to set this for...
I'm trying this & it's not working..
Any help would be greatly appreciated...
If ActiveCell.Value = "SPECIALTY CARE" Then
SpecCount = x + 1
' sum = Range("M2:M2", Range("M2").End(xlDown)).Calculate
sum = Range("M2:M2000").Formula = "=sum(M2:M2)"
I think I've confused myself....
THANK YOU
Reply With Quote
Dave F
View Public Profile
Find all posts by Dave F