Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default want formula

In MS Excel the formula "=COUNTIF(B1:B6,A7)" gives us the
number of cells from B1 to B6 which contains the string
matching with the string in the cell A7.
eg: if A7 contains 20 ; B1 and B2 contains 20 ;B3 to B6
contains other than 20 ,this formula return 2.
The question is if i want to see the number of cells
which contain the number equal to or more than 20,what
modification i should make to the formula?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 93
Default want formula

Harish,
Just change A7 from 20 to 19 or =20
or change the formula to
=COUNTIF(B1:B6,"=20")
Cecil

"Harish Kumar" wrote in message
...
In MS Excel the formula "=COUNTIF(B1:B6,A7)" gives us the
number of cells from B1 to B6 which contains the string
matching with the string in the cell A7.
eg: if A7 contains 20 ; B1 and B2 contains 20 ;B3 to B6
contains other than 20 ,this formula return 2.
The question is if i want to see the number of cells
which contain the number equal to or more than 20,what
modification i should make to the formula?



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,302
Default want formula

Hi Harish,

Try:

=COUNTIF(B1:B6,"="&A7)

---
Regards,
Norman



"Harish Kumar" wrote in message
...
In MS Excel the formula "=COUNTIF(B1:B6,A7)" gives us the
number of cells from B1 to B6 which contains the string
matching with the string in the cell A7.
eg: if A7 contains 20 ; B1 and B2 contains 20 ;B3 to B6
contains other than 20 ,this formula return 2.
The question is if i want to see the number of cells
which contain the number equal to or more than 20,what
modification i should make to the formula?



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
Commenting custom formula fields/formula on formula editor Muxer Excel Programming 2 July 24th 03 01:02 AM


All times are GMT +1. The time now is 12:16 PM.

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"