+ Reply to Thread
Results 1 to 3 of 3

Ignoring blank boxes

  1. #1
    Forum Contributor
    Join Date
    09-23-2010
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    346

    Ignoring blank boxes

    Morning,

    I am using the formula:

    =IFERROR(IF((AL6>AK6),"Y","N"),"")

    However, on my spreadsheet sometimes AL6 or AK6 are blank, in this instance I do not want it to report an N, but rather a blank.

    Is there any way to do this? Thanks for any help you can give.

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Ignoring blank boxes

    One way could be this.

    =IF(OR(AL6="",AK6=""),"",IFERROR(IF((AL6>AK6),"Y","N"),""))
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

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

    Re: Ignoring blank boxes

    hi Cmorgan. is AL6 & AK6 determined by a formula? otherwise, how would AL6>AK6 result in an error? you could simply use:
    =IF(OR(AK6="",AL6=""),"",IF(AL6>AK6,"Y","N"))

    if they are indeed determined by a formula, use the IFERROR on them instead.

    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

+ 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