|
Question : MS Excel COUNTIF 3D
|
|
I need to perform a series of COUNTIF functions using named 3D references for a MS Excel Spread sheet using Office 2004 for Mac OSX. I understand that COUNTIF is unsupported by Excel for 3D references. VB is a foreign language to me.
i.e. I would like to perform the following:
E.g., COUNTIF(HAND,"R") and COUNTIF(EYE,"R") Etc.
Where: HAND = 'Subject 1:Subject n'!$B$18 and EYE = 'Subject 1:Subject n'!$B$19 Etc.
I understand there may be ad-ins, User defined functions or Macros than can solve this. A google search resulted in references to:
" COUNTIF.3D add-in at http://xcell05.free.fr/english/ : but this download resulted in a WIndows executable that doen'st do me any good on my Mac (I do not have Windows installed)
" http://www.experts-exchange.com/Software/Office_Productivity/Office_Suites/MS_Office/Excel/Q_21649916.html: However when I attempt to insert this solution code into the VBE editor most of it is displayed in red font (which I presume implies an error) and when I attempt to run it (using COUNTIF3D in place of COUNTIF in the above examples) results in a "Compile error: Expected: list separator or)"
Any help you can provide is appreciated.
|
|
Answer : MS Excel COUNTIF 3D
|
|
Use COUNTIF() on each worksheet and then separately SUM() all the COUNTIF() results. That will be by far th quickest solution to implement rather than writing a VBA routine to do the work.
|
|
|
|