#1   Report Post  
Posted to microsoft.public.excel.misc
JGreig
 
Posts: n/a
Default 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   Report Post  
Posted to microsoft.public.excel.misc
Dave O
 
Posts: n/a
Default 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.

  #3   Report Post  
Posted to microsoft.public.excel.misc
Bernie Deitrick
 
Posts: n/a
Default Excel formula

J,

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

HTH,
Bernie
MS Excel MVP


"JGreig" wrote in message
...
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?



  #4   Report Post  
Posted to microsoft.public.excel.misc
SteveG
 
Posts: n/a
Default Excel formula


=COUNTIF(A1:A3,"PT")*0.5

HTH

Steve


--
SteveG
------------------------------------------------------------------------
SteveG's Profile: http://www.excelforum.com/member.php...fo&userid=7571
View this thread: http://www.excelforum.com/showthread...hreadid=502461

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Match then lookup Tenacity Excel Worksheet Functions 9 December 3rd 05 05:30 AM
How can i get an If formula in excel to edit another cell? Jimmy Hoffa Excel Worksheet Functions 2 August 16th 05 05:53 PM
converting formula from lotus.123 to excel zaharah Excel Worksheet Functions 2 July 27th 05 03:04 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 03:28 AM
Formula Integrity Not Preserved During Sort in Excel 2000 Kevin Excel Discussion (Misc queries) 1 April 15th 05 10:26 PM


All times are GMT +1. The time now is 11:17 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"