Hi,

I used to use Excel a lot but haven't for a few years. What is the
syntax for using a countif function these days?

"=countif(a1:a10,>b2)" used to do the trick I have tried using help
but for some reason

"=COUNTIF(B29:B40,">B23")"

is not giving me the correct result, ie if I put 6.5 into cell b23 it
is returning 0 not the number of cells in the range B29:B40 which are
greater than 6.5 which is incredibly frustrating!

Thanks,

Will

Re: Simple countif syntax request by Pete_UK

Pete_UK
Wed Mar 12 11:29:36 CDT 2008

If you have a cell reference as part of the condition, you have to use
the function like this:

=3DCOUNTIF(B29:B40,">"&B23)

Hope this helps.

Pete

On Mar 12, 4:22=A0pm, Will <willc...@yahoo.com> wrote:
> Hi,
>
> I used to use Excel a lot but haven't for a few years. =A0What is the
> syntax for using a countif function these days?
>
> "=3Dcountif(a1:a10,>b2)" used to do the trick =A0I have tried using help
> but for some reason
>
> "=3DCOUNTIF(B29:B40,">B23")"
>
> is not giving me the correct result, ie if I put 6.5 into cell b23 it
> is returning 0 not the number of cells in the range B29:B40 which are
> greater than 6.5 which is incredibly frustrating!
>
> Thanks,
>
> Will