Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 23
Default 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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default 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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help - Conditional Sums Dave B New Users to Excel 5 January 16th 09 07:54 PM
Conditional sums GTIGUY Excel Worksheet Functions 1 May 21st 08 12:47 PM
conditional sums and multiple criteria SueC New Users to Excel 1 May 22nd 07 05:40 AM
Conditional Sums Peter J Elliott New Users to Excel 5 February 17th 07 08:22 AM
conditional sums Randy[_11_] Excel Programming 0 May 12th 04 10:21 PM


All times are GMT +1. The time now is 07:49 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"