+ Reply to Thread
Results 1 to 3 of 3

Can I have a IF BLANK and IF ERROR?

  1. #1
    Registered User
    Join Date
    10-08-2006
    Posts
    68

    Smile Can I have a IF BLANK and IF ERROR?

    Is it possible to add both a "IFBLANK" and a "IFERROR"? I have columns that are numbered and some of those columns have blank cells that I want to say "n/a" if its blank but I also want it to say "NO SUCH STORE" if the user accidently types a wrong number thats not on my list. This is what I have so far. It works if the cell is empty and thats fine but I wanna add "IFERROR" as well.

    =IF(ISBLANK(INDEX('Printable Route Groups'!A:D,MATCH(N11,'Printable PI Dates'!A:A,0),4)),"n/a",INDEX('Printable Route Groups'!A:D,MATCH(N11,'Printable PI Dates'!A:A,0),4))

    Thanks
    Nate

  2. #2
    Valued Forum Contributor
    Join Date
    07-11-2004
    Posts
    851
    IF(ISBLANK(INDEX('Printable Route Groups'!A:D,MATCH(N11,'Printable PI Dates'!A:A,0),4)),"n/a",if(iserror(INDEX('Printable Route Groups'!A:D,MATCH(N11,'Printable PI Dates'!A:A,0),4)),"NO SUCH STORE",INDEX('Printable Route Groups'!A:D,MATCH(N11,'Printable PI Dates'!A:A,0),4)))

    I did not test though
    not a professional, just trying to assist.....

  3. #3
    Registered User
    Join Date
    10-08-2006
    Posts
    68
    Great it works! Thanks

+ 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