+ Reply to Thread
Results 1 to 5 of 5

Not able to apply multiple logical conditions using if, AND, OR functions.

  1. #1
    Registered User
    Join Date
    11-05-2013
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    15

    Not able to apply multiple logical conditions using if, AND, OR functions.

    Hi All,

    I have to decide if the final answer will be yes or no based on a combination of 4-5 cell values from a single row.

    I have attached the details in the excel sheet.

    Regards
    Jerry
    Attached Files Attached Files

  2. #2
    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
    52,938

    Re: Not able to apply multiple logical conditions using if, AND, OR functions.

    1st, you have a double space in "copy Center" - remove 1 space

    next, you didnt really say if you wanted the other cells to have formulas, so assumed you did...

    E6=IF(K6="No",2960,0) (you did not specify what to do if "Yes")
    G6=IF(H6=48,"Yes","No")
    H6=IF(B6="Copy Center",48,24)

    L6=IF(AND(B6="copy center",K6="No"),2960,0)
    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

  3. #3
    Registered User
    Join Date
    11-05-2013
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    15

    Re: Not able to apply multiple logical conditions using if, AND, OR functions.

    Quote Originally Posted by FDibbins View Post
    1st, you have a double space in "copy Center" - remove 1 space

    next, you didnt really say if you wanted the other cells to have formulas, so assumed you did...

    E6=IF(K6="No",2960,0) (you did not specify what to do if "Yes")
    G6=IF(H6=48,"Yes","No")
    H6=IF(B6="Copy Center",48,24)

    L6=IF(AND(B6="copy center",K6="No"),2960,0)

    Thanks for the promp reply. The conditions mentioned in the excel sheet should basically be applied on single cell i.e. L6. I am not able to make it work using If condition,AND operator. Inshort to decided the L6 value if yes or no, it should check all the three conditions mentioned below.

  4. #4
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,466

    Re: Not able to apply multiple logical conditions using if, AND, OR functions.

    How about:
    =IF(H6=48,IF(B6="copy center","No",IF(G6="Yes","No","Yes")),IF(AND(K6="No",E6=2960),"No","Yes"))
    Quang PT

  5. #5
    Registered User
    Join Date
    11-05-2013
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    15

    Re: Not able to apply multiple logical conditions using if, AND, OR functions.

    Quote Originally Posted by bebo021999 View Post
    How about:
    =IF(H6=48,IF(B6="copy center","No",IF(G6="Yes","No","Yes")),IF(AND(K6="No",E6=2960),"No","Yes"))
    It didn't work. I have attached the sheet again & have simplified the requirment. Let me know if it helps.
    Attached Files Attached Files

+ 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] Need Help with Multiple Condition Nested Logical Functions
    By SandPounder1 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-17-2014, 07:29 PM
  2. Multiple logical functions resulting in multiple outcomes
    By PaddyG in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-13-2012, 12:20 PM
  3. [SOLVED] Apply IF statement formula with multiple conditions
    By gtrstar in forum Excel General
    Replies: 10
    Last Post: 09-29-2012, 05:01 PM
  4. How do I set up multiple logical conditions on one result cell
    By Ring eye in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-12-2006, 03:35 PM
  5. [SOLVED] LOGICAL FUNCTIONS WITH MULTIPLE VARIABLES
    By luiss in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-18-2005, 12:08 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