+ Reply to Thread
Results 1 to 7 of 7

combining 2 if formulae

  1. #1
    Forum Contributor
    Join Date
    08-18-2017
    Location
    india
    MS-Off Ver
    2010
    Posts
    490

    combining 2 if formulae

    Hey guys,

    I need help with simple problem,

    I need to combine 2 "if" formulae together.

    I guess i need to use AND formulae here


    If sheet "PRODUCT" , range "T" is equal to "NO" AND
    If sheet "PRODUCT", range "Q" is greater than 360 but less than 800

    Is these 2 statement is true then it must show true.

    I know how to do but i am not able to crack the 2nd condition

  2. #2
    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
    81,238

    Re: combining 2 if formulae

    Try this:

    =AND(T1,"NO",Q1,>360,Q1,<800)

    As you are looking for a TRUE/FALSE outcome, you don't actually need an IF statement at all - the above will evaluate to TRUE or FALSE.
    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.

  3. #3
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,100

    Re: combining 2 if formulae

    Maybe:

    =IF(AND(Q2>360,Q2<800,T2="Yes"),"TRUE","")

    Ali's right. IF not needed and I got my Yes and No the wrong way round. Need coffee.
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  4. #4
    Forum Contributor
    Join Date
    08-18-2017
    Location
    india
    MS-Off Ver
    2010
    Posts
    490

    Re: combining 2 if formulae

    Hey Ali,
    thanks,

    I knew that AND would perfectly help me but I was not able to implement it.

    But the formulae which you provided me is not working .

    I have attached the sample.

    Could you please have a look.
    Attached Files Attached Files

  5. #5
    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
    81,238

    Re: combining 2 if formulae

    Try this:

    =AND([@[stock in hand]]="NO",[@Column3]>360,[@Column3]<800)

  6. #6
    Forum Contributor
    Join Date
    08-18-2017
    Location
    india
    MS-Off Ver
    2010
    Posts
    490

    Re: combining 2 if formulae

    Hey Ali,

    Great .

    Thank you .

    It works now.

    Also just to update you - I am trying a different way to work on my project.

    Hope it works

  7. #7
    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
    81,238

    Re: combining 2 if formulae

    Great!

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

+ 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] Combining Formulae with INDIRECT and SUBSTITUTE
    By AliGW in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-22-2015, 11:05 AM
  2. Combining formulae
    By rincewind_the_wizard in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-02-2015, 09:15 AM
  3. Combining a SUM and an IF formulae
    By kristyhutt in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 07-09-2013, 10:35 AM
  4. Combining index, address, reference-type formulae
    By cmboulter in forum Excel General
    Replies: 4
    Last Post: 12-22-2011, 11:27 AM
  5. combining 2 formulae
    By Topgun-usaf in forum Excel General
    Replies: 6
    Last Post: 11-28-2011, 10:24 AM
  6. Combining formulae
    By mandrax in forum Excel General
    Replies: 2
    Last Post: 10-19-2008, 06:45 PM
  7. Combining cell Ref into formulae
    By Darin Kramer in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-06-2005, 09:50 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