+ Reply to Thread
Results 1 to 6 of 6

Multi-Conditional IF + AND + ISNUMBER + FIND Statement

  1. #1
    Registered User
    Join Date
    08-02-2011
    Location
    Madison, USA
    MS-Off Ver
    Excel 2010
    Posts
    51

    Exclamation Multi-Conditional IF + AND + ISNUMBER + FIND Statement

    Hi Folks. This one is a bit beyond my skill level. Any advice would be greatly appreciated. I require a single formula to do the following:

    If value in worksheet 'NI&O Clarity Construction Dump'!$J:$J is equal to the value in cell $A2 of the current worksheet
    And that corresponding text value in column J contains the text "ISP" and "Only", then populate value of "ISP Only"
    If that corresponding text value in column J contains the text "OSP" and "Only", then populate "OSP Only" in formula cell
    If that corresponding text value in column J contains the text "ISP" and "OSP", then populate "ISP & OSP" in formula cell
    and if the corresponding text value in column J is blank, then populate whatever value is in column I:I

    The text string does not always contain ISP Only in that order, or OSP Only in that order etc., so an AND statement would have to be added to find that the two text strings appear anywhere in the cell being referenced.

    Am I up a creek? O__O

    Thanks for looking. Aimee

  2. #2
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: Multi-Conditional IF + AND + ISNUMBER + FIND Statement

    Please Login or Register  to view this content.
    Make Mom proud: Add to my reputation if I helped out!

    Make the Moderators happy: Mark the Thread as Solved if your question was answered!

  3. #3
    Registered User
    Join Date
    08-02-2011
    Location
    Madison, USA
    MS-Off Ver
    Excel 2010
    Posts
    51

    Re: Multi-Conditional IF + AND + ISNUMBER + FIND Statement

    I updated the code you provided to be more along the lines of what I tried very hard to say but fell short

    Please Login or Register  to view this content.
    It isn't quite working the way I intended to explain. To try something, is it possible to remove the ('NI&O Clarity Construction Dump'!$J2=A2)* part? I tried but I am getting lost in the code's parentheticals. I think what I had mentioned in my initial request has more to do with VLOOKUP. What I would be happy settle for is have the just pull each row as they are rather than use a lookup.

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,044

    Re: Multi-Conditional IF + AND + ISNUMBER + FIND Statement

    Slightly different approach...
    =IF(ISNUMBER(SEARCH("ISP",J2,1)+SEARCH("Only",J2,1)),"ISP Only",IF(ISNUMBER(SEARCH("OSP",J2,1)+SEARCH("Only",J2,1)),"OSP Only",IF(ISNUMBER(SEARCH("ISP",J2,1)+SEARCH("OSP",J2,1)),"ISP OSP","")))

    If that doesnt work for you, upload a small (clean) sample workbook (not a pic) of what you are working with, and what your expected outcome would look like.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  5. #5
    Registered User
    Join Date
    08-02-2011
    Location
    Madison, USA
    MS-Off Ver
    Excel 2010
    Posts
    51

    Re: Multi-Conditional IF + AND + ISNUMBER + FIND Statement

    Gonna fix and simplify my request statement and see if that helps first.

    If value in 'NI&O Clarity Construction Dump'!$J2 contains both text "ISP" and text "Only",
    then populate value of "ISP Only",
    If value in 'NI&O Clarity Construction Dump'!$J2 contains both text "OSP" and text "Only",
    then populate value of "OSP Only",
    If value in 'NI&O Clarity Construction Dump'!$J2 contains both text "ISP" and text "OSP",
    then populate value of "ISP & OSP",
    If value in 'NI&O Clarity Construction Dump'!$J2 is blank,
    then pull value in 'NI&O Clarity Construction Dump'!$I2

    Forget the 'NI&O Clarity Construction Dump'!$J2=A2 part. I realize that is silly now.

  6. #6
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: Multi-Conditional IF + AND + ISNUMBER + FIND Statement

    Darnit Dibbs! That's so much more efficient!

    Please Login or Register  to view this content.
    I hope to be as smart when I'm old and gray.

+ 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: 6
    Last Post: 07-03-2013, 10:44 AM
  2. Nested IF statement with multiple ISNUMBER(SEARCH) formula
    By mlester in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-08-2013, 12:40 PM
  3. [SOLVED] How do I pass a MID( statement through a IsNumber in an If, Then, Else clause?
    By needsome in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-17-2013, 04:51 PM
  4. [SOLVED] Multi conditional If statement. I think
    By rkm140 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-14-2012, 09:59 PM
  5. isnumber find formula HELP please
    By billyboy630 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-10-2008, 03:14 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