+ Reply to Thread
Results 1 to 4 of 4

How to combine 3 formulas?

  1. #1
    Forum Contributor
    Join Date
    04-26-2013
    Location
    Orlando
    MS-Off Ver
    Excel 2016
    Posts
    191

    How to combine 3 formulas?

    I have these 3 formulas in 3 different cells. the first two formulas are the same but look at different cells. The third formula looks at the first two formula cells looking for a "yes" and then outputs a yes or no. The idea is for the first two formulas to look at two different sources for a match and the third formula to be a defining answer if there was a match or not within the first two sources.

    =IF(ISNUMBER(FIND(TEXT($I2,"000"),$G2)),"Yes","No")
    =IF(ISNUMBER(FIND(TEXT($I2,"000"),$O2)),"Yes","No")
    =IF(COUNT(MATCH("yes",$J2:$K2,0)),"Yes","No").

  2. #2
    Forum Expert
    Join Date
    03-20-2015
    Location
    Primarily UK, sometimes NL
    MS-Off Ver
    Work: Office 365 / Home: Office 2010
    Posts
    2,405

    Re: How to combine 3 formulas?

    If you want the formulae simply to be combined into one, returning 'Yes' if $I2,"000" is found in either G2 or O2, then this will do it:

    =IF(OR(ISNUMBER(FIND(TEXT($I2,"000"),$G2)),ISNUMBER(FIND(TEXT($I2,"000"),$O2))),"Yes","No")

    There might be better ways of searching and/or combining though, depending on exactly what you're wanting to achieve.

    Regards,
    Aardigspook

    If your problem is solved, please go to 'Thread Tools' above your first post and 'Mark Thread as Solved'.
    You don't need to give me rep if I helped, but thanks are appreciated.

  3. #3
    Forum Contributor
    Join Date
    04-26-2013
    Location
    Orlando
    MS-Off Ver
    Excel 2016
    Posts
    191

    Re: How to combine 3 formulas?

    Quote Originally Posted by Aardigspook View Post
    If you want the formulae simply to be combined into one, returning 'Yes' if $I2,"000" is found in either G2 or O2, then this will do it:

    =IF(OR(ISNUMBER(FIND(TEXT($I2,"000"),$G2)),ISNUMBER(FIND(TEXT($I2,"000"),$O2))),"Yes","No")

    There might be better ways of searching and/or combining though, depending on exactly what you're wanting to achieve.

    Regards,
    Aardigspook

    If your problem is solved, please go to 'Thread Tools' above your first post and 'Mark Thread as Solved'.
    You don't need to give me rep if I helped, but thanks are appreciated.
    This worked great thanks.

  4. #4
    Forum Expert
    Join Date
    03-20-2015
    Location
    Primarily UK, sometimes NL
    MS-Off Ver
    Work: Office 365 / Home: Office 2010
    Posts
    2,405

    Re: How to combine 3 formulas?

    You're welcome and thanks for the rep.

    Regards,
    Aardigspook

    If your problem is solved, please go to 'Thread Tools' above your first post and 'Mark Thread as Solved'.
    You don't need to give me rep if I helped, but thanks are appreciated.

+ 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] Combine 2 formulas
    By Shahid_Excel in forum Excel General
    Replies: 2
    Last Post: 05-09-2014, 08:24 AM
  2. how to combine 3 formulas into 1 pls
    By flyinghigher2011 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-31-2013, 03:50 PM
  3. [SOLVED] Using Combine macro to combine multiple worksheets - need to modify to paste formulas
    By DLSmith in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-26-2012, 09:07 AM
  4. Combine MOD and INT formulas
    By ABSTRAKTUS in forum Excel General
    Replies: 28
    Last Post: 05-28-2010, 07:18 PM
  5. combine formulas
    By dude2125 in forum Excel General
    Replies: 5
    Last Post: 07-21-2008, 01:03 AM
  6. Combine 2 formulas
    By Steved in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-08-2005, 06:05 PM
  7. [SOLVED] Help combine 2 formulas into 1
    By Robert in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-01-2005, 04:06 AM

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