+ Reply to Thread
Results 1 to 5 of 5

combine multiple IF/AND/OR statements

Hybrid View

  1. #1
    Registered User
    Join Date
    04-06-2009
    Location
    Austin, TX
    MS-Off Ver
    Excel 2007
    Posts
    34

    combine multiple IF/AND/OR statements

    Trying to solve the following formula:

    If my input page B13 is either New Lease In-House or New Lease w/Co-Borker andmy input page B43 is - then take cell D57 in my Analysis report, mulitply it by cell B32 from Input page and divide it by 2, otherwise, take cell D57 on the analysis report, mulitply it by B42 on Input page and divide it by 4.

    I think I have a mess up with my brackets....

    This is what I have:

    =IF((OR('Input Page'!B13="New Lease In-House",'Input Page'!B13="New Lease w/Co-Broker"))AND('Input Page'!B43="-",'Analysis Report'!D57*'Input Page'!B32/2,'Analysis Report'!D57*'Input Page'!B32/"4")
    Last edited by katja328; 10-16-2009 at 12:26 PM.

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: combine multiple IF/AND/OR statements

    Works along lines of:

    =IF(AND(test1,OR(test2,test3)),do this,do that)

  3. #3
    Registered User
    Join Date
    04-06-2009
    Location
    Austin, TX
    MS-Off Ver
    Excel 2007
    Posts
    34

    Question Re: combine multiple IF/AND/OR statements

    Quote Originally Posted by DonkeyOte View Post
    Works along lines of:

    =IF(AND(test1,OR(test2,test3)),do this,do that)
    changed it to read:
    =IF(AND('Input Page'!B43="-"),OR('Input Page'!B13="New Lease In-House",'Input Page'!B13="New Lease w/Co-Broker")),'Analysis Report'!D57*'Input Page'!B32/”2”,'Analysis Report'!D57*'Input Page'!B32/"4")

    is still not working....

  4. #4
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: combine multiple IF/AND/OR statements

    You have a misplaced closing parenthesis... no need for ) prior to the OR.

  5. #5
    Registered User
    Join Date
    04-06-2009
    Location
    Austin, TX
    MS-Off Ver
    Excel 2007
    Posts
    34

    Re: combine multiple IF/AND/OR statements

    THank you!!!!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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