+ Reply to Thread
Results 1 to 6 of 6

If statement with embedded AND and FIND formula results in #Value

  1. #1
    Forum Contributor
    Join Date
    10-24-2012
    Location
    Chicago
    MS-Off Ver
    Excel 2013
    Posts
    273

    If statement with embedded AND and FIND formula results in #Value

    Hello,

    I have the below formula which will continue to grow once more logic is added in however the result currently is #Value. The #Value is occurring because the first section where it is looking to find BMR Retail and CAM Retail is resulting in a #value so it isn't making it to the second part of the formula where it would find a match and drop an OF. I am assuming I need to drop an error formula into each of the find sections. I tried using search and end up with the same results. Any thoughts? Thanks in advance.

    =IF(AND(FIND("BMR Retail",Q11),FIND("CAM Retail",Q11)),"RE",IF(AND(FIND("BMR Off",Q11),FIND("CAM Off",Q11)),"OF",""))

  2. #2
    Valued Forum Contributor
    Join Date
    01-14-2013
    Location
    Austria
    MS-Off Ver
    2016 / 2019
    Posts
    339

    Re: If statement with embedded AND and FIND formula results in #Value

    encapsulate all your find(...) with
    Please Login or Register  to view this content.

  3. #3
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham
    MS-Off Ver
    365
    Posts
    8,667

    Re: If statement with embedded AND and FIND formula results in #Value

    Alternatively use
    AND(ISNUMBER(FIND("BMR Retail",Q11)),ISNUMBER(FIND("CAM Retail",Q11)))

  4. #4
    Forum Contributor
    Join Date
    10-24-2012
    Location
    Chicago
    MS-Off Ver
    Excel 2013
    Posts
    273

    Re: If statement with embedded AND and FIND formula results in #Value

    thank you both!

  5. #5
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham
    MS-Off Ver
    365
    Posts
    8,667

    Re: If statement with embedded AND and FIND formula results in #Value

    You're welcome & thanks for the feedback

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Ipswich, England
    MS-Off Ver
    MS 365 Business (Win 10 - Work) & MS 365 Subscription Insider (Win 10 - Home)
    Posts
    41,991

    Re: If statement with embedded AND and FIND formula results in #Value

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!

    Forum Rules (updated September 2018): please read them here.
    How to use the Power Query code you've been given: help here. More about the Power suite here.
    Don't forget to say "thank you" to those who have helped you in your thread. If you wish, you can also reward them by clicking on their reputation star bottom left.

+ 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. [SOLVED] Evaluating the results of a formula within an IF() statement, without duplicating formula?
    By hardofhearing in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-29-2018, 01:08 PM
  2. [SOLVED] Assistance With Embedded If Statement
    By swood91 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-18-2018, 11:55 AM
  3. [SOLVED] IF statement formula continues to effect previous results
    By nelson2101 in forum Excel General
    Replies: 5
    Last Post: 05-23-2017, 03:25 AM
  4. Replies: 3
    Last Post: 01-22-2015, 12:59 PM
  5. [SOLVED] Embedded filter multiple results list
    By no_Fate in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 12-31-2014, 11:56 AM
  6. Formula using array to find embedded value
    By Ted Horsch in forum Excel General
    Replies: 9
    Last Post: 06-22-2006, 11:30 PM
  7. Need help with an embedded IF statement
    By Lari in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 06-17-2006, 12:10 PM

Tags for this Thread

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