A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Countif Help



 
 
Thread Tools Display Modes
  #1  
Old December 4th, 2007, 09:23 PM posted to microsoft.public.excel.worksheet.functions
Curtis
external usenet poster
 
Posts: 202
Default Countif Help

cell c2 = 80%

Column of data is c5:c27


I need to calculate the % of sales greater than the value in cell c2.

thanks
  #2  
Old December 4th, 2007, 09:34 PM posted to microsoft.public.excel.worksheet.functions
Ron Coderre
external usenet poster
 
Posts: 1,922
Default Countif Help

This formula returns the percentage of values
in C5:C27 that are greater than the value in C2.
Note: it divides by the count of numeric values in C5:C27:

=COUNTIF(C5:C27,""&C2)/COUNT(C5:C27)

Format the result as Percent

Is that something you can work with?
--------------------------

Regards,

Ron
Microsoft MVP (Excel)
(XL2003, Win XP)

"Curtis" wrote in message
...
cell c2 = 80%

Column of data is c5:c27


I need to calculate the % of sales greater than the value in cell c2.

thanks




  #3  
Old December 4th, 2007, 10:22 PM posted to microsoft.public.excel.worksheet.functions
Curtis
external usenet poster
 
Posts: 202
Default Countif Help

Thanks that worked

I need to now determine the % that fails within a range says between the
value in c2 and the value in d2

Thanks

"Ron Coderre" wrote:

This formula returns the percentage of values
in C5:C27 that are greater than the value in C2.
Note: it divides by the count of numeric values in C5:C27:

=COUNTIF(C5:C27,""&C2)/COUNT(C5:C27)

Format the result as Percent

Is that something you can work with?
--------------------------

Regards,

Ron
Microsoft MVP (Excel)
(XL2003, Win XP)

"Curtis" wrote in message
...
cell c2 = 80%

Column of data is c5:c27


I need to calculate the % of sales greater than the value in cell c2.

thanks





  #4  
Old December 4th, 2007, 10:25 PM posted to microsoft.public.excel.worksheet.functions
Curtis
external usenet poster
 
Posts: 202
Default Countif Help

Lastly the formula needs to exclde blank cell ( however the cells do contain
a formula)

"Curtis" wrote:

Thanks that worked

I need to now determine the % that fails within a range says between the
value in c2 and the value in d2

Thanks

"Ron Coderre" wrote:

This formula returns the percentage of values
in C5:C27 that are greater than the value in C2.
Note: it divides by the count of numeric values in C5:C27:

=COUNTIF(C5:C27,""&C2)/COUNT(C5:C27)

Format the result as Percent

Is that something you can work with?
--------------------------

Regards,

Ron
Microsoft MVP (Excel)
(XL2003, Win XP)

"Curtis" wrote in message
...
cell c2 = 80%

Column of data is c5:c27


I need to calculate the % of sales greater than the value in cell c2.

thanks





  #5  
Old December 4th, 2007, 10:31 PM posted to microsoft.public.excel.worksheet.functions
Luke M
external usenet poster
 
Posts: 2,672
Default Countif Help

=(COUNTIF(C5:C27,""&C2)-COUNTIF(C5:C27,"="&D2))/COUNT(C5:C27)
--
Best Regards,

Luke M


"Curtis" wrote:

Thanks that worked

I need to now determine the % that fails within a range says between the
value in c2 and the value in d2

Thanks

"Ron Coderre" wrote:

This formula returns the percentage of values
in C5:C27 that are greater than the value in C2.
Note: it divides by the count of numeric values in C5:C27:

=COUNTIF(C5:C27,""&C2)/COUNT(C5:C27)

Format the result as Percent

Is that something you can work with?
--------------------------

Regards,

Ron
Microsoft MVP (Excel)
(XL2003, Win XP)

"Curtis" wrote in message
...
cell c2 = 80%

Column of data is c5:c27


I need to calculate the % of sales greater than the value in cell c2.

thanks





  #6  
Old December 4th, 2007, 11:10 PM posted to microsoft.public.excel.worksheet.functions
Curtis
external usenet poster
 
Posts: 202
Default Countif Help

if c2= 9% and d2=8% it returns a negative value?



"Luke M" wrote:

=(COUNTIF(C5:C27,""&C2)-COUNTIF(C5:C27,"="&D2))/COUNT(C5:C27)
--
Best Regards,

Luke M


"Curtis" wrote:

Thanks that worked

I need to now determine the % that fails within a range says between the
value in c2 and the value in d2

Thanks

"Ron Coderre" wrote:

This formula returns the percentage of values
in C5:C27 that are greater than the value in C2.
Note: it divides by the count of numeric values in C5:C27:

=COUNTIF(C5:C27,""&C2)/COUNT(C5:C27)

Format the result as Percent

Is that something you can work with?
--------------------------

Regards,

Ron
Microsoft MVP (Excel)
(XL2003, Win XP)

"Curtis" wrote in message
...
cell c2 = 80%

Column of data is c5:c27


I need to calculate the % of sales greater than the value in cell c2.

thanks




  #7  
Old December 4th, 2007, 11:16 PM posted to microsoft.public.excel.worksheet.functions
Peo Sjoblom
external usenet poster
 
Posts: 3,232
Default Countif Help

Switch places between D2 and C2


--


Regards,


Peo Sjoblom


"Curtis" wrote in message
...
if c2= 9% and d2=8% it returns a negative value?



"Luke M" wrote:

=(COUNTIF(C5:C27,""&C2)-COUNTIF(C5:C27,"="&D2))/COUNT(C5:C27)
--
Best Regards,

Luke M


"Curtis" wrote:

Thanks that worked

I need to now determine the % that fails within a range says between
the
value in c2 and the value in d2

Thanks

"Ron Coderre" wrote:

This formula returns the percentage of values
in C5:C27 that are greater than the value in C2.
Note: it divides by the count of numeric values in C5:C27:

=COUNTIF(C5:C27,""&C2)/COUNT(C5:C27)

Format the result as Percent

Is that something you can work with?
--------------------------

Regards,

Ron
Microsoft MVP (Excel)
(XL2003, Win XP)

"Curtis" wrote in message
...
cell c2 = 80%

Column of data is c5:c27


I need to calculate the % of sales greater than the value in cell
c2.

thanks






  #8  
Old December 4th, 2007, 11:29 PM posted to microsoft.public.excel.worksheet.functions
Curtis
external usenet poster
 
Posts: 202
Default Countif Help

That will work for this cell but then another cell will be negative

"Peo Sjoblom" wrote:

Switch places between D2 and C2


--


Regards,


Peo Sjoblom


"Curtis" wrote in message
...
if c2= 9% and d2=8% it returns a negative value?



"Luke M" wrote:

=(COUNTIF(C5:C27,""&C2)-COUNTIF(C5:C27,"="&D2))/COUNT(C5:C27)
--
Best Regards,

Luke M


"Curtis" wrote:

Thanks that worked

I need to now determine the % that fails within a range says between
the
value in c2 and the value in d2

Thanks

"Ron Coderre" wrote:

This formula returns the percentage of values
in C5:C27 that are greater than the value in C2.
Note: it divides by the count of numeric values in C5:C27:

=COUNTIF(C5:C27,""&C2)/COUNT(C5:C27)

Format the result as Percent

Is that something you can work with?
--------------------------

Regards,

Ron
Microsoft MVP (Excel)
(XL2003, Win XP)

"Curtis" wrote in message
...
cell c2 = 80%

Column of data is c5:c27


I need to calculate the % of sales greater than the value in cell
c2.

thanks







  #9  
Old December 5th, 2007, 07:58 AM posted to microsoft.public.excel.worksheet.functions
David Biddulph
external usenet poster
 
Posts: 8,714
Default Countif Help

The formula was designed for a lower limit in C2 and an upper limit in D2.
If you haven't got the data arranged that way, and you have C2 and D2 as
limits that might be either way round, then replace C2 in the formula by
MIN(C2,D2), and replace the original occurrence of D2 in the formula by
MAX(C2,D2).
--
David Biddulph

"Curtis" wrote in message
...
That will work for this cell but then another cell will be negative


"Peo Sjoblom" wrote:

Switch places between D2 and C2


"Curtis" wrote in message
...
if c2= 9% and d2=8% it returns a negative value?



"Luke M" wrote:

=(COUNTIF(C5:C27,""&C2)-COUNTIF(C5:C27,"="&D2))/COUNT(C5:C27)
--
Best Regards,

Luke M


"Curtis" wrote:

Thanks that worked

I need to now determine the % that fails within a range says between
the
value in c2 and the value in d2

Thanks

"Ron Coderre" wrote:

This formula returns the percentage of values
in C5:C27 that are greater than the value in C2.
Note: it divides by the count of numeric values in C5:C27:

=COUNTIF(C5:C27,""&C2)/COUNT(C5:C27)

Format the result as Percent

Is that something you can work with?
--------------------------

Regards,

Ron
Microsoft MVP (Excel)
(XL2003, Win XP)

"Curtis" wrote in message
...
cell c2 = 80%

Column of data is c5:c27


I need to calculate the % of sales greater than the value in
cell
c2.

thanks









 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 10:34 AM.


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