Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
How to Put Conditional Sums in macros
I am trying to use a macro to ad a conditional sum and am unable to do it or
decipher the VBA (alleged) help section. Usingthe wizard while in the macro didn't work and I can't figure out a syntax that works. Can anyone point me inthe right direction? Thanks, Alan |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
How to Put Conditional Sums in macros
Range("A1").FormulaArray = "=Sum(if((B1:B200=5)*(C1:C2006),1,0))"
-- Regards, Tom Ogilvy "Alan P" wrote in message ... I am trying to use a macro to ad a conditional sum and am unable to do it or decipher the VBA (alleged) help section. Usingthe wizard while in the macro didn't work and I can't figure out a syntax that works. Can anyone point me inthe right direction? Thanks, Alan |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Help - Conditional Sums | New Users to Excel | |||
Conditional sums | Excel Worksheet Functions | |||
conditional sums and multiple criteria | New Users to Excel | |||
Conditional Sums | New Users to Excel | |||
conditional sums | Excel Programming |