Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I am going bonkers!!!!! I am trying to use SumIf within the confines of the
Evaluate method. Here is my code; Set rng1 = .Worksheets(ShtRef).Range(CntRef) Set rng2 = .Worksheets(ShtRef).Range(CntRef) xlApp.Range("k20") = Evaluate("SumIF((" & rng1.Address & "=""F"")*"& (" & rng2.Address & "<""CLS")," & rng2.Address & "))") I keep getting Compile Error:Expected")" and it Highlights "CLS", I've tried matching the barackets, checked my ""Quoteation marks |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do I use "sumif" for cells "0" across multiple ranges? | Excel Discussion (Misc queries) | |||
Evaluate "nested-merge" function? | Excel Worksheet Functions | |||
Excel - Golf - how to display "-2" as "2 Under" or "4"as "+4" or "4 Over" in a calculation cell | Excel Discussion (Misc queries) | |||
Sumif formula that uses "contains" rather than "equals" | Excel Discussion (Misc queries) | |||
sumif for multi conditions. i.e sumif(A1:A10,"Jon" and B1:B10,"A" | Excel Worksheet Functions |