View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Harlan Grove[_2_] Harlan Grove[_2_] is offline
external usenet poster
 
Posts: 1,231
Default Returning a value if false

James W <James wrote...
I have a spreadsheet that I am working on. It has a row that has either an X
or an O for about 30 days. I am trying to write a formula that will review
that row and give me a result of either Yes if there are all O's or No if
there are ANY X'S. I know this is something extremely simple to do but I cant
get it to work for the life of me.


=IF(COUNTIF(range,"O")=COUNTA(range),"Yes",IF(COUN TIF(range,"X"),"No",
"something else"))