+ Reply to Thread
Results 1 to 7 of 7

Thread: Finding percent of times text appears in sheet

  1. #1
    Registered User
    Join Date
    02-06-2012
    Location
    Cincinnati, OH
    MS-Off Ver
    Excel 2003
    Posts
    3

    Finding percent of times text appears in sheet

    I'm trying to find a way to find the percentage of job types a employee is doing. I want a function that if a "job type" is named then it would tell me how many times the employee did that job.

    I.E. If the job type is "desk" then I want it to count it, if it isn't then I don't. I want it to give me the percentage of times a employee did that job. I would use the same function for other job types "file" "phone" and "runner" to find out how many times they did another job. But I also need a function for "other" not "desk" "phone" "runner" or "file"

    Any help would be AMAZING.. I used to know how to do this but have forgot over the years.
    Last edited by Ineedhelp1; 02-06-2012 at 08:30 PM. Reason: change title of thread

  2. #2
    Forum Guru jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    San Antonio, TX
    MS-Off Ver
    Excel 2007
    Posts
    2,573

    Re: HELP please!

    Doesn't seem to hard, but before we can proceed could you take a few minutes and read the forum rules about properly worded thread titles...
    HTH
    Regards, Jeff

    If you like the answer(s) provided, why not add some reputation by clicking the * below
    Please use [ Code ] tags when posting [ /Code ]
    Please view/read the Forum rules --- How to mark a thread as solved

  3. #3
    Forum Guru JBeaucaire's Avatar
    Join Date
    03-21-2008
    Location
    Bakersfield, CA
    MS-Off Ver
    2010
    Posts
    19,228

    Re: Finding percent of times text appears in sheet

    The COUNTIF() function seems like it would do what you want. To be certain, show us your data, and include a mockup of the results as you would need to see them.

    Click GO ADVANCED and use the paperclip icon to post up a copy of your workbook.
    _________________
    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!)

  4. #4
    Registered User
    Join Date
    02-06-2012
    Location
    Cincinnati, OH
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Finding percent of times text appears in sheet

    Here is my work. I want in the right for it to show me the percent of time Billy did each job.
    Attached Files Attached Files

  5. #5
    Forum Guru
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    5,359

    Re: Finding percent of times text appears in sheet

    Hi

    I4: =SUMIF($E$3:$E$43,H4,$D$3:$D$43)*24/$I$2 Copy down to I7.
    I8: =1-SUM(J4:J7)

    HTH

    rylo

  6. #6
    Registered User
    Join Date
    02-06-2012
    Location
    Cincinnati, OH
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Finding percent of times text appears in sheet

    Perfect! The "other" came up as 100% so I know that isn't right. (But I saw I just needed to change it to (I4:I7)) Also if I want to change the jobs in my sheet will the function still work? Not everyone has the same job categories. The one I gave as an example is an intern, so the real employees have different jobs. I don't want to put it into an important sheet till i know it will work! ;-)

  7. #7
    Forum Guru
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    5,359

    Re: Finding percent of times text appears in sheet

    Hi

    Should work, as long as you adjust the relevant ranges to suit. It references the job in column H, so if you change the job there, as well as in the data, thing will work. Of course if you have more (or less) jobs, then you will have to adjust the ranges.

    rylo

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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.2.0