Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Patty via OfficeKB.com
 
Posts: n/a
Default if/then statements with "counta"

I want to count the number of cells in a column that have a value less than x.
Any tips?


--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...excel/200507/1
  #2   Report Post  
bj
 
Posts: n/a
Default

=countif(Column,"<x")

"Patty via OfficeKB.com" wrote:

I want to count the number of cells in a column that have a value less than x.
Any tips?


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

  #3   Report Post  
Patty via OfficeKB.com
 
Posts: n/a
Default

I replaced COLUMN with the range of cells and I replaced X with my value, but
it didn't work. It returned a 0, when I know I have 9 cells that are less
than x.


bj wrote:
=countif(Column,"<x")

I want to count the number of cells in a column that have a value less than x.
Any tips?



--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...excel/200507/1
  #4   Report Post  
Lewis Clark
 
Posts: n/a
Default

Is your range formatted as numbers, or text?

"Patty via OfficeKB.com" wrote in message
...
I replaced COLUMN with the range of cells and I replaced X with my value,
but
it didn't work. It returned a 0, when I know I have 9 cells that are less
than x.


bj wrote:
=countif(Column,"<x")

I want to count the number of cells in a column that have a value less
than x.
Any tips?



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



  #5   Report Post  
Patty via OfficeKB.com
 
Posts: n/a
Default

nevermind - I used sumproduct and it worked. Thanks!

Patty wrote:
I replaced COLUMN with the range of cells and I replaced X with my value, but
it didn't work. It returned a 0, when I know I have 9 cells that are less
than x.

=countif(Column,"<x")

I want to count the number of cells in a column that have a value less than x.
Any tips?



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


  #6   Report Post  
Patty via OfficeKB.com
 
Posts: n/a
Default

My range is formatted as numbers, but the range is actually formulas linked
in from another cell. Could that be the issue with "countif?"

Now I want to count the cells that have values between two ranges. How do I
do that?

Lewis Clark wrote:
Is your range formatted as numbers, or text?

I replaced COLUMN with the range of cells and I replaced X with my value,
but

[quoted text clipped - 6 lines]
than x.
Any tips?



--
Message posted via http://www.officekb.com
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
Next w/o For If/Then Loop littlegreenmen1 Excel Discussion (Misc queries) 5 June 9th 05 05:28 PM
Unable to Copy COUNTA() with cell references EugenioB Excel Worksheet Functions 1 February 16th 05 01:07 PM
Nested IF statements John Simons Excel Worksheet Functions 14 February 16th 05 06:17 AM
If/Then statements with images??? Brw Excel Worksheet Functions 1 November 18th 04 10:43 AM
If statements Mark Excel Worksheet Functions 3 November 2nd 04 08:39 PM


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