LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Report Post  
Peo Sjoblom
 
Posts: n/a
Default

Not at all.


Regards,

Peo Sjoblom



"Bob Phillips" wrote:

I like that one Peo. Do you mind if I add that to the examples on the
SUMPRODUCT page?

Bob

"Peo Sjoblom" wrote in message
...
One way

=SUMPRODUCT(COUNTIF(A1:A100,{"P";"HP"}),{1;0.5})

where your P/HP days are in A1:A100


Regards,

Peo Sjoblom



"ryanjh79" wrote:

I would like to use the countif function to count a letter a a half ".5"
instead of as a whole "1." The application that it would be used for is

on a
payroll workbook. i.e. "P" would eaqul a whole personal day whereas a

"HP"
would be a half of a personal day. From there I would like to add all

of the
"P's" and "HP's" in one Cell. this would be like 4.5 days used compared

with
4 days used (P,P,P,P, HP)=4.5
Thanks,

Brandon





 
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
Seed numbers for random number generation, uniform distribution darebo Excel Discussion (Misc queries) 3 April 21st 23 09:02 PM
Paste a function as a fixed number Martini25 Excel Discussion (Misc queries) 1 December 21st 04 11:39 AM
something wrong with my "countif" function ryanjh79 Excel Discussion (Misc queries) 3 December 17th 04 06:59 PM
#VALUE in cell but pop up function box show right number Ted Dalton Excel Discussion (Misc queries) 1 December 14th 04 03:15 PM
Countif Function jrm Excel Discussion (Misc queries) 3 December 4th 04 09:13 PM


All times are GMT +1. The time now is 08:49 AM.

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

About Us

"It's about Microsoft Excel"