+ Reply to Thread
Results 1 to 3 of 3

Difficulty with percentage calculation using COUNTIFS/COUNTIF function

  1. #1
    Registered User
    Join Date
    12-28-2013
    Location
    Oak Island, NC
    MS-Off Ver
    Office for Mac 2011
    Posts
    1

    Difficulty with percentage calculation using COUNTIFS/COUNTIF function

    I am using Office for Mac 2011 and am attempting to calculate a percentage of a document status as an employee performance metric. I am getting a consistent "That name is not valid" error message highlighting "[A2" for the following formula (relevant xls workbook attached):

    =COUNTIFS(B2:B500, "47", [A2:A500, "Green"])/COUNTIF(B2:B500, "47")
    Attached Files Attached Files
    Last edited by aldobbs3; 12-28-2013 at 10:05 AM.

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,938

    Re: Difficulty with percentage calculation using COUNTIFS/COUNTIF function

    Hi and welcome to the forum

    Try removing the []...
    =COUNTIFS(B2:B500, "47",A2:A500,"Green")/COUNTIF(B2:B500, "47")
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,938

    Re: Difficulty with percentage calculation using COUNTIFS/COUNTIF function

    Happy to help and thanks for the feedback

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Having difficulty using IF, AND & OR in the same function
    By Straw in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-05-2013, 07:58 PM
  2. [SOLVED] countif function difficulty
    By kilomanjaro4 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-19-2013, 10:42 AM
  3. Calculation Speeds of getpivotdata vs countifs
    By gregorhi in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2012, 05:46 AM
  4. COUNT/COUNTIF function with date calculation
    By Jayana in forum Excel General
    Replies: 4
    Last Post: 05-28-2012, 01:19 AM
  5. Difficulty in Countif or Sumproduct function
    By Grimace in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-06-2009, 02:39 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1