+ Reply to Thread
Results 1 to 5 of 5

If function with 3 outcomes. As well as 2nd IF function to factor positive or negitive

  1. #1
    Registered User
    Join Date
    02-05-2013
    Location
    Chicago
    MS-Off Ver
    Excel 10
    Posts
    11

    If function with 3 outcomes. As well as 2nd IF function to factor positive or negitive

    Sorry but i was looking at the other change i need to make currently it is

    =IF(Information!B26="n",1500,-1500)

    So it shows as a buyers charge or credit. But i am trying to change this with the loan amount. So 1500 or -1500 for a loan of under 199999.99, 1700 or -1700 for loans over 200000, and 1800 or -1800 for loans above 300000. The cell showing the loan amount is D16. Is this possible or is it too many ifs?
    Last edited by Danimal615; 02-05-2013 at 02:16 PM.

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,895

    Re: Part 2 if 3 out come question

    =if(and(Information!B26="n",D16<200000),1500,if(and(Information!B26<>"n",D16<200000),-1500,if(and(Information!B26="n",D16>=200000,D16<300000),1700,if(and(Information!B26<>"n",D16>200000,D16<300000),-1700,if(and(Information!B26="n",D16>=300000),1800,if(and(Information!B26<>"n",D16>300000),-1700,""))))))

    Try the above
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Registered User
    Join Date
    02-05-2013
    Location
    Chicago
    MS-Off Ver
    Excel 10
    Posts
    11

    Re: Part 2 if 3 out come question

    It is working for below 199kand below 299k, 300k and up is showing a blank cell

  4. #4
    Registered User
    Join Date
    02-05-2013
    Location
    Chicago
    MS-Off Ver
    Excel 10
    Posts
    11

    Re: Part 2 if 3 out come question

    Sorry, it looks right when the answer is n, but when it is y it is blank

    When Y, 300000 is blank, but anything else over 300 (such as 301000) is showing the -1700....any ideas?
    Last edited by Danimal615; 02-05-2013 at 02:34 PM.

  5. #5
    Registered User
    Join Date
    02-05-2013
    Location
    Chicago
    MS-Off Ver
    Excel 10
    Posts
    11

    Re: Part 2 if 3 out come question

    I just changed it slightly incase anyone else needed to know. Thanks again for all the help

    =IF(AND(Information!B26="n",D16<200000),1500,IF(AND(Information!B26<>"n",D16<200000),-1500,IF(AND(Information!B26="n",D16>=200000,D16<300000),1700,IF(AND(Information!B26<>"n",D16>200000,D16<300000),-1700,IF(AND(Information!B26="n",D16>=300000),1800,IF(AND(Information!B26<>"n",D16>=300000),-1800,""))))))

+ 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