Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Returning a value if false

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.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
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"))
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Returning a value if false

Works like a charm.... I really appreciate the help and the extremely quick
response!!!

"Harlan Grove" wrote:

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"))

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
VLOOKUP using FALSE returning blanks and #N/A dread Excel Worksheet Functions 1 September 16th 08 10:18 PM
Returning a value rather than TRUE or FALSE. Rich D Excel Discussion (Misc queries) 3 July 30th 08 06:53 PM
lookup returning true or false mike_vr Excel Discussion (Misc queries) 3 January 31st 08 05:54 PM
Returning nothing if formula is false SallyGirl Excel Discussion (Misc queries) 3 December 27th 06 03:21 AM
VLOOKUP returning value when range_lookup false jodieg Excel Worksheet Functions 6 August 24th 06 01:53 PM


All times are GMT +1. The time now is 06:09 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"