+ Reply to Thread
Results 1 to 4 of 4

Excel formula

  1. #1
    JGreig
    Guest

    Excel formula

    I'm doing a staffing allocation. I have PT for part time staff. I want PT
    to equal 0.5 in my formula. My formula now is =countif(a1:a3,"pt") How do I
    make PT=0.5?

  2. #2
    Valued Forum Contributor
    Join Date
    03-25-2004
    Location
    Boston, MA US
    Posts
    1,094
    =COUNTIF(A1:A3,"PT")*0.5

    HTH

    Steve

  3. #3
    Dave O
    Guest

    Re: Excel formula

    The COUNTIF() function in your context, counts occurences of "pt" in
    the specified range. It sounds like you want the resulting count of
    "pt" to have 1/2 the weight of a full time employee. If that's
    correct, your formula would need to include "/2" or "*.5" (no quotes,
    of course) to halve the weight.


  4. #4
    Bernie Deitrick
    Guest

    Re: Excel formula

    J,

    =countif(a1:a3,"pt")/2

    HTH,
    Bernie
    MS Excel MVP


    "JGreig" <[email protected]> wrote in message
    news:[email protected]...
    > I'm doing a staffing allocation. I have PT for part time staff. I want PT
    > to equal 0.5 in my formula. My formula now is =countif(a1:a3,"pt") How do I
    > make PT=0.5?




+ 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.6.0 RC 1