+ Reply to Thread
Results 1 to 5 of 5

Help with combining IF and AND with OR (I guess)

  1. #1
    Forum Contributor
    Join Date
    09-27-2017
    Location
    USA
    MS-Off Ver
    MS365 - 2302
    Posts
    163

    Help with combining IF and AND with OR (I guess)

    Hi All,

    I am trying to come up with a if and or formula combined with AND i guess.

    But the part of having >6 or <12 to populate a target I am not quite able to get my head around it.

    I have attached the ask in the comments.

    Based on Column C Tenure a Target should come up in Column D which is =1.25,1,0.85

    Thanks for the help in advance.
    Attached Files Attached Files

  2. #2
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.85 for Mac MS 365
    Posts
    8,512

    Re: Help with combining IF and AND with OR (I guess)

    this looks like it will work... =IF(A2="","",IF(AND(OR(A2="t7",A2="rj"),C2<6),1.25,IF(AND(OR(A2="t7",A2="rj"),C2>=12),0.85,IF(AND(OR(A2="t7",A2="rj"),C2>=6),1,""))))
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

  3. #3
    Forum Contributor
    Join Date
    09-27-2017
    Location
    USA
    MS-Off Ver
    MS365 - 2302
    Posts
    163

    Re: Help with combining IF and AND with OR (I guess)

    Thank you Sam,

    I finally looked into other treads and got what I need to mend my OG formula to include them

    =IF(AND(G2="RJ",J2<=6),1.25,IF(AND(G2="T7",J2<=6),1.25,IF(AND(G2="RJ",J2>12),0.85,IF(AND(G2="T7",J2>12),0.85,IF(AND(G2="T7",J2>=6,J2<=12),1,IF(AND(G2="RJ",J2>=6,J2<=12),1,"PG,PC"))))))

  4. #4
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.85 for Mac MS 365
    Posts
    8,512

    Re: Help with combining IF and AND with OR (I guess)

    A bit longer than mine, I incorporated the ANDs and the ORs together but if that’s what works for you, glad you solved it.

    Don’t forget to mark the post is solved.

  5. #5
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.85 for Mac MS 365
    Posts
    8,512

    Re: Help with combining IF and AND with OR (I guess)

    I can't seem to edit my post, but thanks for marking it as solved, AND thank you for the rep!

+ 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. Need help with complex IF formula I guess?? :)
    By Smasen91 in forum Excel Formulas & Functions
    Replies: 18
    Last Post: 04-13-2016, 04:26 PM
  2. Honoluuluu, guess where I'm from..
    By honoluuluu in forum Hello..Introduce yourself
    Replies: 1
    Last Post: 02-05-2015, 06:52 PM
  3. I guess it's time .... Thank you all
    By JP Romano in forum The Water Cooler
    Replies: 11
    Last Post: 06-18-2014, 07:51 PM
  4. [SOLVED] Accounting i guess
    By Duggie06 in forum Excel General
    Replies: 10
    Last Post: 04-17-2012, 12:40 PM
  5. Have a guess
    By pike in forum The Water Cooler
    Replies: 4
    Last Post: 01-18-2012, 11:05 AM
  6. sorta like consolidate I guess
    By sponger in forum Excel General
    Replies: 2
    Last Post: 08-27-2007, 02:06 AM
  7. [SOLVED] IRR Guess Problem
    By Dkline in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-07-2005, 09:40 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