#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default CountA problem

I am using the formula as shown below, but I want to exclude the letter D or
d
from the count, any ideas?
Thanks
Jim

=COUNTA(E3:E148)


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,311
Default CountA problem

One way:

=SUMPRODUCT(--(E3:E148<"d"),--(E3:E148<""))

HTH,
Paul


--

"Jim" wrote in message
...
I am using the formula as shown below, but I want to exclude the letter D
or d
from the count, any ideas?
Thanks
Jim

=COUNTA(E3:E148)



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,344
Default CountA problem

Hi,

Try =COUNTIF(E3:E148,"<E")

--
Cheers,
Shane Devenshire


"Jim" wrote:

I am using the formula as shown below, but I want to exclude the letter D or
d
from the count, any ideas?
Thanks
Jim

=COUNTA(E3:E148)



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default CountA problem

=COUNTA(E3:E143)-COUNTIF(E3:E143,"D")

will exclude both upper and lower case d
--
Gary''s Student - gsnu200765


"Jim" wrote:

I am using the formula as shown below, but I want to exclude the letter D or
d
from the count, any ideas?
Thanks
Jim

=COUNTA(E3:E148)



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,344
Default CountA problem

Change the E to a D, it handles both upper and lower case.

--
Cheers,
Shane Devenshire


"ShaneDevenshire" wrote:

Hi,

Try =COUNTIF(E3:E148,"<E")

--
Cheers,
Shane Devenshire


"Jim" wrote:

I am using the formula as shown below, but I want to exclude the letter D or
d
from the count, any ideas?
Thanks
Jim

=COUNTA(E3:E148)





  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,311
Default CountA problem

Your formula will count anything that is not "D". COUNTA was the original
formula which counts non-blanks. I assuming the OP wants to count all
non-blank cells that are NOT "E".

Either mine or Gary"s Student's suggestion should do the trick.

=SUMPRODUCT(--(E3:E148<"d"),--(E3:E148<""))

=COUNTA(E3:E143)-COUNTIF(E3:E143,"D")

Regards,
Paul


--

"ShaneDevenshire" wrote in
message ...
Change the E to a D, it handles both upper and lower case.

--
Cheers,
Shane Devenshire


"ShaneDevenshire" wrote:

Hi,

Try =COUNTIF(E3:E148,"<E")

--
Cheers,
Shane Devenshire


"Jim" wrote:

I am using the formula as shown below, but I want to exclude the letter
D or
d
from the count, any ideas?
Thanks
Jim

=COUNTA(E3:E148)





  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default CountA problem

I really need to use COUNTA,
thanks for your help so far.
Jim


"Jim" wrote in message
...
I am using the formula as shown below, but I want to exclude the letter D
or d
from the count, any ideas?
Thanks
Jim

=COUNTA(E3:E148)



  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,311
Default CountA problem

You've been given a couple of suggestions that work, including one that uses
COUNTA. Did they not work? You may need to elaborate on what you're trying
to do.

Regards,
Paul

--

"Jim" wrote in message
...
I really need to use COUNTA,
thanks for your help so far.
Jim


"Jim" wrote in message
...
I am using the formula as shown below, but I want to exclude the letter D
or d
from the count, any ideas?
Thanks
Jim

=COUNTA(E3:E148)





  #9   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default CountA problem

Hello Paul,
Got it sorted now.
Many thanks
Jim

"Jim" <jim. wrote in message
...
I am using the formula as shown below, but I want to exclude the letter D
or d
from the count, any ideas?
Thanks
Jim

=COUNTA(E3:E148)



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
COUNTA() Michell Major Excel Discussion (Misc queries) 5 October 17th 06 03:34 PM
Counta martins New Users to Excel 2 April 4th 06 12:04 AM
COUNTA Karen Excel Worksheet Functions 3 January 10th 06 09:48 PM
counta DanC Excel Worksheet Functions 4 January 5th 05 03:49 AM
COUNTA Function not working =COUNTA(C3:C69,"NH") MikeinNH Excel Worksheet Functions 2 November 8th 04 01:19 AM


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