+ Reply to Thread
Results 1 to 2 of 2

formula to calculate timecard compliance with multiple variables

  1. #1
    Registered User
    Join Date
    03-22-2017
    Location
    pittsburgh
    MS-Off Ver
    2007
    Posts
    1

    formula to calculate timecard compliance with multiple variables

    Hello,

    I was hoping someone could help me figure out a formula to calculate the compliance percentage of timecard submissions

    I have the following information in a spreadsheet set up as below. The codes that are non-compliant are M, R, I and the codes that are compliant are C, A, X, W. What formula could I use to figure out the complaince?

    Please Login or Register  to view this content.
    (so this particular employee would be 1/4 to get percentage if doing it by hand)
    Last edited by JBeaucaire; 03-23-2017 at 12:29 AM.

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: formula to calculate timecard compliance with multiple variables

    Here's one way:
    Data Range
    C
    D
    E
    F
    G
    H
    I
    J
    2
    1/8/2017
    1/15/2017
    1/22/2017
    1/29/2017
    Compliance
    this is an array formula
    3
    John
    R
    I
    M
    I
    0%
    =SUM(--ISNUMBER(SEARCH($D3:$G3,"CAXW")))/COUNTA($D3:$G3)
    4
    Sam
    M
    C
    A
    I
    50%
    ...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

+ 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. Time formula to calculate compliance
    By manito2000 in forum Excel General
    Replies: 9
    Last Post: 12-27-2017, 12:15 PM
  2. formula for compliance
    By ailismanzoni in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-15-2017, 11:21 AM
  3. Formula to calculate service level compliance
    By ljerromes in forum Excel General
    Replies: 3
    Last Post: 04-10-2016, 06:12 PM
  4. [SOLVED] Multiple variables to calculate a value
    By cruisinto in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-28-2014, 06:59 AM
  5. Replies: 0
    Last Post: 03-25-2014, 03:04 AM
  6. Formula to calculate compliance
    By patfle in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-16-2013, 11:54 AM
  7. Formula to calculate compliance
    By patfle in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-16-2013, 11:41 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