Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Countif Conditions - Use of conditions that vary by cell value

I want to count the number of cells in a range that are greater than a
particular number, which I have programmed excel to calculate and display in
a fixed cell.

Unfortunately, when I use that cell's reference in a countif (or countifs)
condition statement, the countif function ignores the cell value. If I
substitute the cell reference by the fixed numerical value in the countif
condition, the countif function calculates the desired value correctly.

Any suggestions about how to use a cell reference rather than a fixed
numerical value in the countif condition syntax?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default Countif Conditions - Use of conditions that vary by cell value

Try

=COUNTIF(A1:A8,"="&B1)
where B1 is the value you are counting

Mike

"JonTarg" wrote:

I want to count the number of cells in a range that are greater than a
particular number, which I have programmed excel to calculate and display in
a fixed cell.

Unfortunately, when I use that cell's reference in a countif (or countifs)
condition statement, the countif function ignores the cell value. If I
substitute the cell reference by the fixed numerical value in the countif
condition, the countif function calculates the desired value correctly.

Any suggestions about how to use a cell reference rather than a fixed
numerical value in the countif condition syntax?

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 with Conditions Gary Excel Worksheet Functions 2 June 12th 07 08:10 PM
Countif with 2 conditions DTTODGG Excel Worksheet Functions 7 June 5th 07 08:54 PM
Using countif with 2 conditions Cheryl W Excel Worksheet Functions 2 September 14th 05 03:38 PM
COUNTIF for 2 conditions Bruce Excel Worksheet Functions 4 June 15th 05 01:22 PM
How can I use COUNTIF to sum for two conditions? Jeff Excel Worksheet Functions 4 December 30th 04 05:25 AM


All times are GMT +1. The time now is 04:49 AM.

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"