+ Reply to Thread
Results 1 to 4 of 4

if (and formular

  1. #1
    Forum Contributor
    Join Date
    08-10-2006
    Posts
    723

    if (and formular

    hi ,
    i would like to change this formular to include an "and" function

    what i want it to do also is

    to check to see if "d4" has a value in it and if "f4" is empty , if so then state " no limit has been set"


    =IF(D4="","",IF(D4<=F4,"good","out of spec"))

    thank you

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: if (and formular

    hi stevekirk, try:
    =IF(D4="","",IF(D4<=F4,"good",IF(AND(D4<>"",F4=""),"no limit has been set","out of spec")))

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  3. #3
    Forum Contributor
    Join Date
    08-10-2006
    Posts
    723

    Re: if (and formular

    hi

    thanks you very much just what i wanted

    steve

  4. #4
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: if (and formular

    You can do away with the AND(D4<>"", in benishiryo's formula since you have already accounted for D4="" first up. Hence use

    =IF(D4="","",IF(D4<=F4,"good",IF(F4="","no limit has been set","out of spec")))
    Life's a spreadsheet, Excel!
    Say thanks, Click *

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1