ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Q: check a range values (https://www.excelbanter.com/excel-discussion-misc-queries/51497-q-check-range-values.html)

JIM.H.

Q: check a range values
 
Hello,

I have Yes or No in the Range A1:A20. As a value in a cell, if there is at
least on No in the range I would like return At least One No otherwise
None. How should I d this?
Thanks,



[email protected]

Q: check a range values
 
Try this in Cell B1
=IF(COUNTIF(A1:A20,"No")1,"At least One No","")

JIM.H. wrote:
Hello,

I have Yes or No in the Range A1:A20. As a value in a cell, if there is at
least on No in the range I would like return "At least One No" otherwise
None. How should I d this?
Thanks,



Dave Peterson

Q: check a range values
 
I think you meant:

=IF(COUNTIF(A1:A20,"No")0,"At least One No","")
or
=IF(COUNTIF(A1:A20,"No")=1,"At least One No","")

or

=IF(COUNTIF(A1:A20,"No")1,"At least Two No's","") <vbg

wrote:

Try this in Cell B1
=IF(COUNTIF(A1:A20,"No")1,"At least One No","")

JIM.H. wrote:
Hello,

I have Yes or No in the Range A1:A20. As a value in a cell, if there is at
least on No in the range I would like return "At least One No" otherwise
None. How should I d this?
Thanks,


--

Dave Peterson


All times are GMT +1. The time now is 05:00 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com