PC Review


Reply
Thread Tools Rate Thread

Any suggestions about the "countif" function?

 
 
EpsilonRho
Guest
Posts: n/a
 
      21st Sep 2007
The COUNTIF function uses a number for setting the condition, for example
=COUNTIF(A1:A100,"<10"). How is it possible to replace the condition (in
this case "<10") with a cell address?
Thank you very much.
Gene


 
Reply With Quote
 
 
 
 
Pete_UK
Guest
Posts: n/a
 
      21st Sep 2007
If the condition is in cell D1, then try this:

=COUNTIF(A1:A100,"<"&D1)

Hope this helps.

Pete

On Sep 21, 4:16 pm, "EpsilonRho" <Epsilon...@nospam.ooo> wrote:
> The COUNTIF function uses a number for setting the condition, for example
> =COUNTIF(A1:A100,"<10"). How is it possible to replace the condition (in
> this case "<10") with a cell address?
> Thank you very much.
> Gene



 
Reply With Quote
 
EpsilonRho
Guest
Posts: n/a
 
      21st Sep 2007
Thank you very much, Pete. It works.
Gene

"Pete_UK" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
If the condition is in cell D1, then try this:

=COUNTIF(A1:A100,"<"&D1)

Hope this helps.

Pete

On Sep 21, 4:16 pm, "EpsilonRho" <Epsilon...@nospam.ooo> wrote:
> The COUNTIF function uses a number for setting the condition, for example
> =COUNTIF(A1:A100,"<10"). How is it possible to replace the condition (in
> this case "<10") with a cell address?
> Thank you very much.
> Gene




 
Reply With Quote
 
Pete_UK
Guest
Posts: n/a
 
      21st Sep 2007
You're welcome, Gene - thanks for feeding back.

Pete

On Sep 21, 4:44 pm, "EpsilonRho" <Epsilon...@nospam.ooo> wrote:
> Thank you very much, Pete. It works.
> Gene
>
> "Pete_UK" <pashu...@auditel.net> wrote in message
>
> news:(E-Mail Removed)...
> If the condition is in cell D1, then try this:
>
> =COUNTIF(A1:A100,"<"&D1)
>
> Hope this helps.
>
> Pete
>
> On Sep 21, 4:16 pm, "EpsilonRho" <Epsilon...@nospam.ooo> wrote:
>
>
>
> > The COUNTIF function uses a number for setting the condition, for example
> > =COUNTIF(A1:A100,"<10"). How is it possible to replace the condition (in
> > this case "<10") with a cell address?
> > Thank you very much.
> > Gene- Hide quoted text -

>
> - Show quoted text -



 
Reply With Quote
 
Paul Hyett
Guest
Posts: n/a
 
      21st Sep 2007
In microsoft.public.excel on Fri, 21 Sep 2007, Pete_UK
<(E-Mail Removed)> wrote :

>If the condition is in cell D1, then try this:
>
>=COUNTIF(A1:A100,"<"&D1)
>
>Hope this helps.


That's useful - thanks.
--
Paul Hyett, Cheltenham (change 'invalid83261' to 'blueyonder' to email me)
 
Reply With Quote
 
Pete_UK
Guest
Posts: n/a
 
      22nd Sep 2007
Hey, thanks for the feedback, Paul.

Pete

On Sep 21, 6:23 pm, Paul Hyett <vidcap...@invalid83261.co.uk> wrote:
>
> That's useful - thanks.
> --
> Paul Hyett, Cheltenham (change 'invalid83261' to 'blueyonder' to email me)



 
Reply With Quote
 
Paul Hyett
Guest
Posts: n/a
 
      22nd Sep 2007
In microsoft.public.excel on Fri, 21 Sep 2007, Pete_UK
<(E-Mail Removed)> wrote :

>Hey, thanks for the feedback, Paul.
>
>Pete
>

I have lots of spreadsheets containing temperature data, and being able
to point 'countif' to a single cell will make it a lot easier to count
occurrences of temperatures within a given range, than caving to alter
loads of formulas
--
Paul Hyett, Cheltenham (change 'invalid83261' to 'blueyonder' to email me)
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
use "countif" function to count cells by colour ken Microsoft Excel Worksheet Functions 1 12th Dec 2007 08:22 AM
"Search" function does not work in Word 2002. Any suggestions? =?Utf-8?B?RCBUYXlsb3I=?= Microsoft Word Document Management 0 20th Oct 2005 02:21 PM
Could the "Criteria" in COUNTIF function be a cell reference? =?Utf-8?B?Sm9oblNoZWVuV1NO?= Microsoft Excel Worksheet Functions 2 16th Jun 2005 08:07 PM
Multiple (text) criteria in a "countif" function?? Muse 0f Fire Microsoft Excel Misc 4 28th Sep 2004 03:28 PM
Cookies will not enable even after changing settings for "Security" and "Privacy" tabs in "Internet Options", any suggestions? =?Utf-8?B?dGlhbmltaA==?= Windows XP Help 2 27th Jan 2004 12:46 AM


Features
 

Advertising
 

Newsgroups
 


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