+ 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
    O365
    Posts
    311

    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, England
    MS-Off Ver
    365
    Posts
    15,029

    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
    O365
    Posts
    311

    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, England
    MS-Off Ver
    365
    Posts
    15,029

    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
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    79,408

    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!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

+ 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. [SOLVED] 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. [SOLVED] 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