ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Long Logical function (https://www.excelbanter.com/excel-worksheet-functions/131388-long-logical-function.html)

Archana

Long Logical function
 
I have a tracking sheet where I want to enter a formula to enter in cell
"done" if a range of cells from A3:A54 all have a value "done" or "NA" else
keep blank.
How do I do it?
The formula is turning out t be too long and cannot be entered.

Arvi Laanemets

Long Logical function
 
Hi

=IF((COUNTIF($A$3:$A$54;"done")+COUNTIF($A$3:$A$54 ;"NA"))=52;"done";"")


--
Arvi Laanemets
( My real mail address: arvi.laanemets<attarkon.ee )



"Archana" wrote in message
...
I have a tracking sheet where I want to enter a formula to enter in cell
"done" if a range of cells from A3:A54 all have a value "done" or "NA"
else
keep blank.
How do I do it?
The formula is turning out t be too long and cannot be entered.




T. Valko

Long Logical function
 
Try this:

=IF(SUM(COUNTIF(A3:A54,{"done","na"}))=52,"done"," ")

Biff

"Archana" wrote in message
...
I have a tracking sheet where I want to enter a formula to enter in cell
"done" if a range of cells from A3:A54 all have a value "done" or "NA"
else
keep blank.
How do I do it?
The formula is turning out t be too long and cannot be entered.





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

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