LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
mz mz is offline
external usenet poster
 
Posts: 40
Default IF formula returns error; abbreviating the formula

I used the following formula to evaluate the "Yes/No" responses to several
questions.
If any of the responses are "No" then the formula should return "Fail"; only
if all are "Yes", then it should return "Pass"

=IF(OR(V40,V41:V42)="No","Fail","Pass")

V40, V41, and V42 are the cells that contain the Yes/No responses

The formula returned an error.
Any suggestions for correction?
In addition, if there are many questions, how would I abbreviate the query
of cells so that I do not manually list them, as I did above - i.e. instead
of V40,V41,V42, use something like a colon between the first and last cell -
V40:V42?

Thank you
--
MZ
 
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
identical formula returns #VALUE! error Tasso Excel Discussion (Misc queries) 3 June 1st 09 04:57 PM
Array Formula returns error but only for specific columns pblenis Excel Discussion (Misc queries) 3 March 9th 07 11:02 PM
Sumproduct returns value error when ref is formula wx4usa Excel Discussion (Misc queries) 3 January 21st 07 04:57 PM
Formula to sum every 4th cell returns #DIV/0! error in some column Brent Excel Worksheet Functions 5 March 16th 06 07:20 PM
formula returns error in version 2003 only Wayne Cameron Excel Worksheet Functions 0 October 31st 05 05:00 PM


All times are GMT +1. The time now is 11:38 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright 2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"