Or you might try =COUNTIF(A1:A646,">0") if you still get the wrong number.
Thanks BoniM and Jim for your suggestion. However for some reason it does not
seem to work? Well, that not totally true, I entered some test data in the
same work sheet and it works fine, however on the range that I want it to
count it still adds up everything ?
The formula that is in each cell of the range that i want to add up is as
follows:
=IF(Names!A1="","",Names!A1)
=IF(Names!A2="","",Names!A2)
=IF(Names!A3="","",Names!A3)
etc etc (this goes for 20 rows)
I dont think it has anything to do with the way the above formula has been
created but I could be wrong. At present I have 17 names in the "Names" sheet
in column A but the COUNTIF formula still adds up 20?
Any Ideas ?
Thanks
John
> Or you might try =COUNTIF(A1:A646,">0") if you still get the wrong number.
>
[quoted text clipped - 26 lines]
> >
> > John
Jim Jackson - 23 Apr 2007 13:52 GMT
Try =COUNTIF(G1:G646,">""")
This one worked for me.

Signature
Best wishes,
Jim
> Thanks BoniM and Jim for your suggestion. However for some reason it does not
> seem to work? Well, that not totally true, I entered some test data in the
[quoted text clipped - 50 lines]
> > >
> > > John
John Calder - 24 Apr 2007 02:10 GMT
Well done Jim, works great !
Many Thanks
John
> Try =COUNTIF(G1:G646,">""")
>
[quoted text clipped - 54 lines]
> > > >
> > > > John
Jim Jackson - 23 Apr 2007 13:54 GMT
I just realized I forgot to return the cell references to your original. I
had some data in column "G" so used it as referenced cells. Sorry.

Signature
Best wishes,
Jim
> Thanks BoniM and Jim for your suggestion. However for some reason it does not
> seem to work? Well, that not totally true, I entered some test data in the
[quoted text clipped - 50 lines]
> > >
> > > John