Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
LInda
 
Posts: n/a
Default countif clarification

Thank you for earlier response... have the formula now to count blank cells.

Been perusing your other answers but now have this question...

Scenario: one column, c4:c34. Will contain some numbers, some zeros, and
some necessary blank rows in case I add more information (either zero's or
numbers). Realized I didn't need to count the blank rows, just the zeros and
the numbers.

I can now count all the cells with zero's. How do I count the cells that
are greater than zero? I've tried a variety of formulas but my guess'n golly
hasn't eureka'd yet!

Linda


  #2   Report Post  
Posted to microsoft.public.excel.misc
goto_guy
 
Posts: n/a
Default countif clarification


Have you tried
=COUNTIF(C4:C34,"0")


--
goto_guy
------------------------------------------------------------------------
goto_guy's Profile: http://www.excelforum.com/member.php...o&userid=30557
View this thread: http://www.excelforum.com/showthread...hreadid=528316

  #3   Report Post  
Posted to microsoft.public.excel.misc
LInda
 
Posts: n/a
Default countif clarification

Yes, I've tried that and other variations from the discussion group answers
that seemed logical... well for the questions posed they were...

Anyway...That one you show returns a value of "0". In that column of 31
cells, two contain numbers, 3 contain zeros, and the rest are blank. I can
count the zero's, I can count the blanks, but counting the numbered cells is
..... well .... I'm drawing a blank.

"goto_guy" wrote:


Have you tried
=COUNTIF(C4:C34,"0")


--
goto_guy
------------------------------------------------------------------------
goto_guy's Profile: http://www.excelforum.com/member.php...o&userid=30557
View this thread: http://www.excelforum.com/showthread...hreadid=528316


  #4   Report Post  
Posted to microsoft.public.excel.misc
Peo Sjoblom
 
Posts: n/a
Default countif clarification

Then it's simple, they must be text.


--

Regards,

Peo Sjoblom

http://nwexcelsolutions.com



"LInda" wrote in message
...
Yes, I've tried that and other variations from the discussion group
answers
that seemed logical... well for the questions posed they were...

Anyway...That one you show returns a value of "0". In that column of 31
cells, two contain numbers, 3 contain zeros, and the rest are blank. I
can
count the zero's, I can count the blanks, but counting the numbered cells
is
.... well .... I'm drawing a blank.

"goto_guy" wrote:


Have you tried
=COUNTIF(C4:C34,"0")


--
goto_guy
------------------------------------------------------------------------
goto_guy's Profile:
http://www.excelforum.com/member.php...o&userid=30557
View this thread:
http://www.excelforum.com/showthread...hreadid=528316




  #5   Report Post  
Posted to microsoft.public.excel.misc
Bob Phillips
 
Posts: n/a
Default countif clarification

Sounds like your numbers are being stored as text. If this returns a value

=SUMPRODUCT(--(C4:C340))

that will confirm it.

--

HTH

Bob Phillips

(remove nothere from the email address if mailing direct)

"LInda" wrote in message
...
Yes, I've tried that and other variations from the discussion group

answers
that seemed logical... well for the questions posed they were...

Anyway...That one you show returns a value of "0". In that column of 31
cells, two contain numbers, 3 contain zeros, and the rest are blank. I

can
count the zero's, I can count the blanks, but counting the numbered cells

is
.... well .... I'm drawing a blank.

"goto_guy" wrote:


Have you tried
=COUNTIF(C4:C34,"0")


--
goto_guy
------------------------------------------------------------------------
goto_guy's Profile:

http://www.excelforum.com/member.php...o&userid=30557
View this thread:

http://www.excelforum.com/showthread...hreadid=528316






  #6   Report Post  
Posted to microsoft.public.excel.misc
LInda
 
Posts: n/a
Default countif clarification

Sorry, that formula returned a value of 5 which is counting the 2 cells with
numbers plus the 3 cells with zeros.
Not the right one yet.... need it to return a value of 2, and then that'll
probably be the right formula. What could be simpler than counting anything
greater than 0? The answer's here somewhere.
Linda

"Bob Phillips" wrote:

Sounds like your numbers are being stored as text. If this returns a value

=SUMPRODUCT(--(C4:C340))

that will confirm it.

--

HTH

Bob Phillips

(remove nothere from the email address if mailing direct)

"LInda" wrote in message
...
Yes, I've tried that and other variations from the discussion group

answers
that seemed logical... well for the questions posed they were...

Anyway...That one you show returns a value of "0". In that column of 31
cells, two contain numbers, 3 contain zeros, and the rest are blank. I

can
count the zero's, I can count the blanks, but counting the numbered cells

is
.... well .... I'm drawing a blank.

"goto_guy" wrote:


Have you tried
=COUNTIF(C4:C34,"0")


--
goto_guy
------------------------------------------------------------------------
goto_guy's Profile:

http://www.excelforum.com/member.php...o&userid=30557
View this thread:

http://www.excelforum.com/showthread...hreadid=528316





  #7   Report Post  
Posted to microsoft.public.excel.misc
LInda
 
Posts: n/a
Default countif clarification

Oh, and I reconfirmed that the row of cells c4:c34 are formatted as number,
not text. No difference in the result.

"LInda" wrote:

Sorry, that formula returned a value of 5 which is counting the 2 cells with
numbers plus the 3 cells with zeros.
Not the right one yet.... need it to return a value of 2, and then that'll
probably be the right formula. What could be simpler than counting anything
greater than 0? The answer's here somewhere.
Linda

"Bob Phillips" wrote:

Sounds like your numbers are being stored as text. If this returns a value

=SUMPRODUCT(--(C4:C340))

that will confirm it.

--

HTH

Bob Phillips

(remove nothere from the email address if mailing direct)

"LInda" wrote in message
...
Yes, I've tried that and other variations from the discussion group

answers
that seemed logical... well for the questions posed they were...

Anyway...That one you show returns a value of "0". In that column of 31
cells, two contain numbers, 3 contain zeros, and the rest are blank. I

can
count the zero's, I can count the blanks, but counting the numbered cells

is
.... well .... I'm drawing a blank.

"goto_guy" wrote:


Have you tried
=COUNTIF(C4:C34,"0")


--
goto_guy
------------------------------------------------------------------------
goto_guy's Profile:

http://www.excelforum.com/member.php...o&userid=30557
View this thread:

http://www.excelforum.com/showthread...hreadid=528316





  #8   Report Post  
Posted to microsoft.public.excel.misc
Bob Phillips
 
Posts: n/a
Default countif clarification

It wasn't meant to be an alternative, just confirmed they are text, which it
did. Change them to General and F2 the text cells.

--

HTH

Bob Phillips

(remove nothere from the email address if mailing direct)

"LInda" wrote in message
...
Sorry, that formula returned a value of 5 which is counting the 2 cells

with
numbers plus the 3 cells with zeros.
Not the right one yet.... need it to return a value of 2, and then that'll
probably be the right formula. What could be simpler than counting

anything
greater than 0? The answer's here somewhere.
Linda

"Bob Phillips" wrote:

Sounds like your numbers are being stored as text. If this returns a

value

=SUMPRODUCT(--(C4:C340))

that will confirm it.

--

HTH

Bob Phillips

(remove nothere from the email address if mailing direct)

"LInda" wrote in message
...
Yes, I've tried that and other variations from the discussion group

answers
that seemed logical... well for the questions posed they were...

Anyway...That one you show returns a value of "0". In that column of

31
cells, two contain numbers, 3 contain zeros, and the rest are blank.

I
can
count the zero's, I can count the blanks, but counting the numbered

cells
is
.... well .... I'm drawing a blank.

"goto_guy" wrote:


Have you tried
=COUNTIF(C4:C34,"0")


--
goto_guy

------------------------------------------------------------------------
goto_guy's Profile:

http://www.excelforum.com/member.php...o&userid=30557
View this thread:

http://www.excelforum.com/showthread...hreadid=528316







  #9   Report Post  
Posted to microsoft.public.excel.misc
Peo Sjoblom
 
Posts: n/a
Default countif clarification

It doesn't matter if they are formatted as numbers, excel sees them as text,
no formatting will change that, you will need to calculate them if they
don't have trailing or leading spaces..

Try by copying an empty cell, select the range and do editpaste special and
select add..

then use the countif function

If that doesn't work you have invisible characters like html char(160) or
spaces in the cells


--

Regards,

Peo Sjoblom

http://nwexcelsolutions.com



"LInda" wrote in message
...
Oh, and I reconfirmed that the row of cells c4:c34 are formatted as
number,
not text. No difference in the result.

"LInda" wrote:

Sorry, that formula returned a value of 5 which is counting the 2 cells
with
numbers plus the 3 cells with zeros.
Not the right one yet.... need it to return a value of 2, and then
that'll
probably be the right formula. What could be simpler than counting
anything
greater than 0? The answer's here somewhere.
Linda

"Bob Phillips" wrote:

Sounds like your numbers are being stored as text. If this returns a
value

=SUMPRODUCT(--(C4:C340))

that will confirm it.

--

HTH

Bob Phillips

(remove nothere from the email address if mailing direct)

"LInda" wrote in message
...
Yes, I've tried that and other variations from the discussion group
answers
that seemed logical... well for the questions posed they were...

Anyway...That one you show returns a value of "0". In that column of
31
cells, two contain numbers, 3 contain zeros, and the rest are blank.
I
can
count the zero's, I can count the blanks, but counting the numbered
cells
is
.... well .... I'm drawing a blank.

"goto_guy" wrote:


Have you tried
=COUNTIF(C4:C34,"0")


--
goto_guy
------------------------------------------------------------------------
goto_guy's Profile:
http://www.excelforum.com/member.php...o&userid=30557
View this thread:
http://www.excelforum.com/showthread...hreadid=528316







  #10   Report Post  
Posted to microsoft.public.excel.misc
LInda
 
Posts: n/a
Default countif clarification

EUREKA!
It worked.
I don't understand how, but all I need is the right formula for now.
Linda

"Peo Sjoblom" wrote:

It doesn't matter if they are formatted as numbers, excel sees them as text,
no formatting will change that, you will need to calculate them if they
don't have trailing or leading spaces..

Try by copying an empty cell, select the range and do editpaste special and
select add..

then use the countif function

If that doesn't work you have invisible characters like html char(160) or
spaces in the cells


--

Regards,

Peo Sjoblom

http://nwexcelsolutions.com



"LInda" wrote in message
...
Oh, and I reconfirmed that the row of cells c4:c34 are formatted as
number,
not text. No difference in the result.

"LInda" wrote:

Sorry, that formula returned a value of 5 which is counting the 2 cells
with
numbers plus the 3 cells with zeros.
Not the right one yet.... need it to return a value of 2, and then
that'll
probably be the right formula. What could be simpler than counting
anything
greater than 0? The answer's here somewhere.
Linda

"Bob Phillips" wrote:

Sounds like your numbers are being stored as text. If this returns a
value

=SUMPRODUCT(--(C4:C340))

that will confirm it.

--

HTH

Bob Phillips

(remove nothere from the email address if mailing direct)

"LInda" wrote in message
...
Yes, I've tried that and other variations from the discussion group
answers
that seemed logical... well for the questions posed they were...

Anyway...That one you show returns a value of "0". In that column of
31
cells, two contain numbers, 3 contain zeros, and the rest are blank.
I
can
count the zero's, I can count the blanks, but counting the numbered
cells
is
.... well .... I'm drawing a blank.

"goto_guy" wrote:


Have you tried
=COUNTIF(C4:C34,"0")


--
goto_guy
------------------------------------------------------------------------
goto_guy's Profile:
http://www.excelforum.com/member.php...o&userid=30557
View this thread:
http://www.excelforum.com/showthread...hreadid=528316








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
Countif Formula /Sort Bug??? orcfodder Excel Discussion (Misc queries) 2 January 12th 06 10:04 AM
Formula format for Count or Countif funtion with two criterias Debi Excel Worksheet Functions 2 September 26th 05 08:23 PM
COUNTIF or not to COUNTIF on a range in another sheet Ellie Excel Worksheet Functions 4 September 15th 05 10:06 PM
Combining IF and COUNTIF based on two columns maxtrixx Excel Discussion (Misc queries) 5 March 31st 05 06:21 PM
Countif - Countif maswinney Excel Worksheet Functions 3 November 15th 04 11:06 PM


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