Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Darryl
 
Posts: n/a
Default countif counting properties

Hey.
I am using countif to total the number of H's in a group of cells, everytime
it counts a H it counts a whole number.
I need to use a formula where instead of counting a whole number it counts
up in 0.5 per H.
Any suggestions?
Your help would be much appreciated.
Thanks
Darryl
  #2   Report Post  
Posted to microsoft.public.excel.misc
Peo Sjoblom
 
Posts: n/a
Default countif counting properties

How about dividing the countif result with 2?

--

Regards,

Peo Sjoblom

"Darryl" wrote in message
...
Hey.
I am using countif to total the number of H's in a group of cells,

everytime
it counts a H it counts a whole number.
I need to use a formula where instead of counting a whole number it counts
up in 0.5 per H.
Any suggestions?
Your help would be much appreciated.
Thanks
Darryl



  #3   Report Post  
Posted to microsoft.public.excel.misc
Darryl
 
Posts: n/a
Default countif counting properties

I dont think this will work. As it needs to add up in the same cell as the
rest of the formulas. It is for a holiday tracking document, Everytime I add
H it stands for one holiday day( 1). Everytime I put in HD is stands for Half
day (0.5) and they are both totalled in the same cell which is subtracted
from the allowance.

Any other suggestions?

Thanks for your help

"Peo Sjoblom" wrote:

How about dividing the countif result with 2?

--

Regards,

Peo Sjoblom

"Darryl" wrote in message
...
Hey.
I am using countif to total the number of H's in a group of cells,

everytime
it counts a H it counts a whole number.
I need to use a formula where instead of counting a whole number it counts
up in 0.5 per H.
Any suggestions?
Your help would be much appreciated.
Thanks
Darryl




  #4   Report Post  
Posted to microsoft.public.excel.misc
Peo Sjoblom
 
Posts: n/a
Default countif counting properties

So why didn't you say so from the start?

=COUNTIF(A:A,"H")+(COUNTIF(A:A,"HD")/2)

=SUMPRODUCT(COUNTIF(A2:A200,{"H","HD"})*{1,0.5})


--

Regards,

Peo Sjoblom

"Darryl" wrote in message
...
I dont think this will work. As it needs to add up in the same cell as the
rest of the formulas. It is for a holiday tracking document, Everytime I

add
H it stands for one holiday day( 1). Everytime I put in HD is stands for

Half
day (0.5) and they are both totalled in the same cell which is subtracted
from the allowance.

Any other suggestions?

Thanks for your help

"Peo Sjoblom" wrote:

How about dividing the countif result with 2?

--

Regards,

Peo Sjoblom

"Darryl" wrote in message
...
Hey.
I am using countif to total the number of H's in a group of cells,

everytime
it counts a H it counts a whole number.
I need to use a formula where instead of counting a whole number it

counts
up in 0.5 per H.
Any suggestions?
Your help would be much appreciated.
Thanks
Darryl






  #5   Report Post  
Posted to microsoft.public.excel.misc
Darryl
 
Posts: n/a
Default countif counting properties

Sorry,
Thanks alot for your help.

regards,
Darryl

"Peo Sjoblom" wrote:

So why didn't you say so from the start?

=COUNTIF(A:A,"H")+(COUNTIF(A:A,"HD")/2)

=SUMPRODUCT(COUNTIF(A2:A200,{"H","HD"})*{1,0.5})


--

Regards,

Peo Sjoblom

"Darryl" wrote in message
...
I dont think this will work. As it needs to add up in the same cell as the
rest of the formulas. It is for a holiday tracking document, Everytime I

add
H it stands for one holiday day( 1). Everytime I put in HD is stands for

Half
day (0.5) and they are both totalled in the same cell which is subtracted
from the allowance.

Any other suggestions?

Thanks for your help

"Peo Sjoblom" wrote:

How about dividing the countif result with 2?

--

Regards,

Peo Sjoblom

"Darryl" wrote in message
...
Hey.
I am using countif to total the number of H's in a group of cells,
everytime
it counts a H it counts a whole number.
I need to use a formula where instead of counting a whole number it

counts
up in 0.5 per H.
Any suggestions?
Your help would be much appreciated.
Thanks
Darryl








  #6   Report Post  
Posted to microsoft.public.excel.misc
Peo Sjoblom
 
Posts: n/a
Default countif counting properties

Thanks for the feedback

Peo


"Darryl" wrote in message
...
Sorry,
Thanks alot for your help.

regards,
Darryl

"Peo Sjoblom" wrote:

So why didn't you say so from the start?

=COUNTIF(A:A,"H")+(COUNTIF(A:A,"HD")/2)

=SUMPRODUCT(COUNTIF(A2:A200,{"H","HD"})*{1,0.5})


--

Regards,

Peo Sjoblom

"Darryl" wrote in message
...
I dont think this will work. As it needs to add up in the same cell as

the
rest of the formulas. It is for a holiday tracking document, Everytime

I
add
H it stands for one holiday day( 1). Everytime I put in HD is stands

for
Half
day (0.5) and they are both totalled in the same cell which is

subtracted
from the allowance.

Any other suggestions?

Thanks for your help

"Peo Sjoblom" wrote:

How about dividing the countif result with 2?

--

Regards,

Peo Sjoblom

"Darryl" wrote in message
...
Hey.
I am using countif to total the number of H's in a group of cells,
everytime
it counts a H it counts a whole number.
I need to use a formula where instead of counting a whole number

it
counts
up in 0.5 per H.
Any suggestions?
Your help would be much appreciated.
Thanks
Darryl








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
Countif and Text - not counting karin Excel Discussion (Misc queries) 1 October 18th 05 07:43 PM
Using COUNTIF for Counting Words? Rich B Excel Worksheet Functions 2 September 26th 05 08:40 PM
COUNTIF or SUMPRODUCT counting multiple criteria Peo Sjoblom Excel Worksheet Functions 0 May 31st 05 11:40 PM
counting values within given interval - countif? A_F Excel Discussion (Misc queries) 4 May 6th 05 10:07 AM
counting cells (COUNTIF) based on two or more criteria Tricia S. Excel Worksheet Functions 10 March 17th 05 02:17 PM


All times are GMT +1. The time now is 08:01 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"