+ Reply to Thread
Results 1 to 4 of 4

Unable to return text when using multiple "IF" formulas

  1. #1
    Registered User
    Join Date
    11-23-2014
    Location
    Wichita
    MS-Off Ver
    2007
    Posts
    17

    Unable to return text when using multiple "IF" formulas

    Simple IF formula.
    This is what I'm working with:
    =IF(A8=B1,B2)+IF(A8=C1,C2)+IF(A8=D1,D2)
    If the value in A8 is not equal to any part of the formula, I want to return the word "ERROR".
    It will not let me use an array such as =IF(A8=B1:D1,B2:D2,"ERROR") and any way I've tried has returned a #VALUE.
    Is there another route to take or some way to work around this?

    Thanks in advance!

  2. #2
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Re: Unable to return text when using multiple "IF" formulas

    Maybe this:
    For Excel 2007 or later
    Please Login or Register  to view this content.
    Otherwise:
    Please Login or Register  to view this content.
    Is that something you can work with?
    Last edited by Ron Coderre; 11-23-2014 at 07:46 PM.
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

  3. #3
    Registered User
    Join Date
    11-23-2014
    Location
    Wichita
    MS-Off Ver
    2007
    Posts
    17

    Re: Unable to return text when using multiple "IF" formulas

    Yes, the first one works perfectly.
    Is there a way for the cell with formula to remain blank if the cell referenced (A8) is blank?
    Last edited by Kandy1084; 11-23-2014 at 09:27 PM.

  4. #4
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Re: Unable to return text when using multiple "IF" formulas

    Try this:
    Please Login or Register  to view this content.
    Does that help?

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 8
    Last Post: 07-06-2014, 08:51 PM
  2. [SOLVED] "If" function with Multiple Ref Cells in Text and Return Value
    By cychua in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-05-2013, 07:26 AM
  3. [SOLVED] IF cant find selection of multiple keywords return "text"
    By Eagle75au in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-30-2012, 02:52 AM
  4. [SOLVED] Find multiple "text" criteria and return as ""Yes" in Matrix
    By bertrand82 in forum Excel General
    Replies: 11
    Last Post: 04-30-2012, 09:20 AM
  5. Replies: 3
    Last Post: 02-16-2011, 02:55 PM

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