• Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
  • Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

Reply to: Excel Logic Query

Collapse

You are not logged in or you do not have permission to access this page. This could be due to one of several reasons:

  • You are not logged in. If you are already registered, fill in the form below to log in, or follow the "Sign Up" link to register a new account.
  • You may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
  • If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.

Previously on "Excel Logic Query"

Collapse

  • Contreras
    replied
    Late to the party but I would have done:
    Code:
    =IF(AND(NOT(ISBLANK(A1)),NOT(ISBLANK(B1)),ISBLANK(C1),ISBLANK(D1),NOT(ISBLANK(E1))),"Pass","Fail")
    or maybe:
    Code:
    =IF(OR(ISBLANK(A1),ISBLANK(B1),NOT(ISBLANK(C1)),NOT(ISBLANK(D1)),ISBLANK(E1)),"Fail","Pass")

    Leave a comment:


  • Netraider
    replied
    Many thanks, Eeks formula was easier to use in this situation, but a fantastic fast response as always from the CUK IT Helpdesk.

    Leave a comment:


  • eek
    replied
    You need the isblank and and statements

    =IF(AND(ISBLANK(A1)=FALSE,ISBLANK(B1)=FALSE,ISBLAN K(C1)=TRUE,ISBLANK(D1)=TRUE,ISBLANK(E1)=FALSE),"Pa ss","Fail")

    Leave a comment:


  • MarillionFan
    replied
    =IF(LEN(C1&D1)=0,IF(LEN(A1&B1&E1)>0,"Pass","Fail") ,"Fail")

    Leave a comment:


  • Netraider
    started a topic Excel Logic Query

    Excel Logic Query

    I have 5 cells, A1 - A5 for example with or without content. I need A6 to = "Pass" for the following....

    A1 = Anything
    B1 = Anything
    C1 = Empty
    D1 = Empty
    E1 = Anything

    I need A6 to = "Fail" for any other condition.

    I have been playing with =If(And for a couple of hours but am having issues around working with either empty cells or cells that aren't empty.

    Any hints or tips?

Working...
X