View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
nabanco nabanco is offline
external usenet poster
 
Posts: 59
Default If Then Or Statement

Max, that worked perfectly, thank you sir

"Max" wrote:

Maybe you're looking for something like this:
=IF(A1="X","Complete",IF(A1="",IF(OR(N1="Bond",N1= "Other"),"Yes",IF(AND(N1="Government",OR(AND(V17, V1<100),AND(W10,W1<100))),"Yes","No"))))
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"nabanco" wrote:
I am having a little trouble with this formula and was hoping for some help.

=IF(A1="X","Complete",IF(A1="",IF(OR(N1="Bond",N1= "Other"),"Yes",IF(AND(N1="Government",OR(V17,W11 )),"Yes","???"))))

If N1 equals "government" AND (V1 is 7 and less than 100) OR (W1 is 0 and
less than 100) then return "Yes". If not, return "No.

The first part of the formula works fine for "bond" and "other"

Thank you