Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Countif/Sumif doesn't work with arrays, only ranges.
-- Regards, Tom Ogilvy "Derick Hughes" wrote in message ... Thanks Tom, I am now trying to work further with the elements of the array. I am trying to count the number of instances a value occurs in the array with this statement. However it produces a run time error '424' Object required. countNum is declared as a variant. CountNum = Application.WorksheetFunction.CountIf(Application. WorksheetFunction.Inde x(varr, 1, 0), 1) Regards Dk *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it! |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Counting the Number of Elements in an Array | Excel Discussion (Misc queries) | |||
Use formulas for array elements | Excel Discussion (Misc queries) | |||
Reference Elements w/in an Array | Excel Discussion (Misc queries) | |||
Non-unique elements in an array | Excel Discussion (Misc queries) | |||
Count elements in array | Excel Programming |