#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 66
Default Counta

I hve been fighting with this for the last week or so. I have a column which
has the potential to show 100 items. it is a basically filled in with a
statement that shows the cell as blank if there is nothing in it.

The issue I am having is that I want to count the amount of entries, but it
keeps counting all the cells with a formula in it.

Can I get help on how to make it so it ignores the cells with a formula

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...excel/200809/1

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,696
Default Counta

=counta(column)-countblank(column)

"Darrell_Sarrasin via OfficeKB.com" wrote:

I hve been fighting with this for the last week or so. I have a column which
has the potential to show 100 items. it is a basically filled in with a
statement that shows the cell as blank if there is nothing in it.

The issue I am having is that I want to count the amount of entries, but it
keeps counting all the cells with a formula in it.

Can I get help on how to make it so it ignores the cells with a formula

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...excel/200809/1


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 964
Default Counta

=SUMPRODUCT(--(A2:A101<""))


assuming the blanks from the formula is ""

You can also use COUNTIF but it has a bug in some Excel versions
with regards to the used range

if these are text you can use


=COUNTIF(A2:A101,"?")


=COUNTIF(A2:A101,"<"&99^99)

--


Regards,


Peo Sjoblom

"Darrell_Sarrasin via OfficeKB.com" <u33691@uwe wrote in message
news:8abae5a9538f2@uwe...
I hve been fighting with this for the last week or so. I have a column
which
has the potential to show 100 items. it is a basically filled in with a
statement that shows the cell as blank if there is nothing in it.

The issue I am having is that I want to count the amount of entries, but
it
keeps counting all the cells with a formula in it.

Can I get help on how to make it so it ignores the cells with a formula

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...excel/200809/1



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 964
Default Counta

of course the last one is for numbers

=COUNTIF(A2:A101,"<"&99^99)


--


Regards,


Peo Sjoblom

"Peo Sjoblom" wrote in message
...
=SUMPRODUCT(--(A2:A101<""))


assuming the blanks from the formula is ""

You can also use COUNTIF but it has a bug in some Excel versions
with regards to the used range

if these are text you can use


=COUNTIF(A2:A101,"?")


=COUNTIF(A2:A101,"<"&99^99)

--


Regards,


Peo Sjoblom

"Darrell_Sarrasin via OfficeKB.com" <u33691@uwe wrote in message
news:8abae5a9538f2@uwe...
I hve been fighting with this for the last week or so. I have a column
which
has the potential to show 100 items. it is a basically filled in with a
statement that shows the cell as blank if there is nothing in it.

The issue I am having is that I want to count the amount of entries, but
it
keeps counting all the cells with a formula in it.

Can I get help on how to make it so it ignores the cells with a formula

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...excel/200809/1





  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 66
Default Counta

Sorry it does not work

THe column has a formula sitting in it so that there is nothing displayed if
what its pulling from is blank.

Need something to ignore the formula in each cell unless there is output
printed. and hte output is text.

Sean Timmons wrote:
=counta(column)-countblank(column)

I hve been fighting with this for the last week or so. I have a column which
has the potential to show 100 items. it is a basically filled in with a

[quoted text clipped - 4 lines]

Can I get help on how to make it so it ignores the cells with a formula


--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...excel/200809/1



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 66
Default Counta

I dont think that I have explained it correctly
I have multiple work sheets. On worksheet A I have a chart where someone
fills in the last name in one column and the first in another column.

To save time I made it so that on worksheet B I have copied the results into
cells B10:B109. The issue thou that i am running into is that I need to
count how many are in the class so I am counting the last names that show up
in B10:B109.

Right now because I dont want a 0 to show up in the range I am using the
formula

=IF('Control Tab'!B2=""," ",'Control Tab'!B2) with Control tab being
Worksheet A

when I try to count on Worksheet B the entries, it it telling me 100 because
all of the cells has something in it. I just want to be able to count the
results which is in text when a cell is filled in.

Peo Sjoblom wrote:
of course the last one is for numbers

=COUNTIF(A2:A101,"<"&99^99)

=SUMPRODUCT(--(A2:A101<""))

[quoted text clipped - 19 lines]

Can I get help on how to make it so it ignores the cells with a formula


--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...excel/200809/1

  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 964
Default Counta

It works for me. What is not working. Are you using spaces " " instead of
""
in your formulas to designate blanks?

Another formula that works is

=SUMPRODUCT(--(LEN(A1:A10)0))

Regardless, Sean's formula works

--


Regards,


Peo Sjoblom

"Darrell_Sarrasin via OfficeKB.com" <u33691@uwe wrote in message
news:8abb2cf5b1c12@uwe...
Sorry it does not work

THe column has a formula sitting in it so that there is nothing displayed
if
what its pulling from is blank.

Need something to ignore the formula in each cell unless there is output
printed. and hte output is text.

Sean Timmons wrote:
=counta(column)-countblank(column)

I hve been fighting with this for the last week or so. I have a column
which
has the potential to show 100 items. it is a basically filled in with a

[quoted text clipped - 4 lines]

Can I get help on how to make it so it ignores the cells with a formula


--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...excel/200809/1



  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 964
Default Counta

Did you try any of the formulas, all the formulas I posted work if you want
to count
cells that are not empty with formulas in them.

COUNTIF(A1:A100,"?")

will not include cells with formulas that returns ""
and will only count if the result is text






--


Regards,


Peo Sjoblom

"Darrell_Sarrasin via OfficeKB.com" <u33691@uwe wrote in message
news:8abb451f0ed96@uwe...
I dont think that I have explained it correctly
I have multiple work sheets. On worksheet A I have a chart where someone
fills in the last name in one column and the first in another column.

To save time I made it so that on worksheet B I have copied the results
into
cells B10:B109. The issue thou that i am running into is that I need to
count how many are in the class so I am counting the last names that show
up
in B10:B109.

Right now because I dont want a 0 to show up in the range I am using the
formula

=IF('Control Tab'!B2=""," ",'Control Tab'!B2) with Control tab being
Worksheet A

when I try to count on Worksheet B the entries, it it telling me 100
because
all of the cells has something in it. I just want to be able to count the
results which is in text when a cell is filled in.

Peo Sjoblom wrote:
of course the last one is for numbers

=COUNTIF(A2:A101,"<"&99^99)

=SUMPRODUCT(--(A2:A101<""))

[quoted text clipped - 19 lines]

Can I get help on how to make it so it ignores the cells with a formula


--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...excel/200809/1



  #9   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 66
Default Counta

got it to work thanks.

Peo Sjoblom wrote:
Did you try any of the formulas, all the formulas I posted work if you want
to count
cells that are not empty with formulas in them.

COUNTIF(A1:A100,"?")

will not include cells with formulas that returns ""
and will only count if the result is text

I dont think that I have explained it correctly
I have multiple work sheets. On worksheet A I have a chart where someone

[quoted text clipped - 27 lines]

Can I get help on how to make it so it ignores the cells with a formula


--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...excel/200809/1

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 and or if MB Excel Worksheet Functions 6 September 17th 08 07:23 AM
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 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 03:34 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"