+ Reply to Thread
Results 1 to 5 of 5

Multi IF arguments for 3 conditions

  1. #1
    Registered User
    Join Date
    12-20-2018
    Location
    Melbourne ,Australia
    MS-Off Ver
    2010
    Posts
    6

    Multi IF arguments for 3 conditions

    I have 4 columns A,B,C,and D
    the value will appear in only one column at a time
    I want to report that value in column D
    Have no difficulty with only 2 columns ie =IF(A6>0,A6,IF(B6>0,B6))...Returns value or blank cell in D
    Or =IF(A6>0,A6,IF(B6>0,B6,0))...Returns value or 0 in D

    When I attempt to add Column C, always get the message "To many arguments"

    How do I link several IF arguments?

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2003,2007,2010
    Posts
    28,857

    Re: Multi IF arguments for 3 conditions

    Try
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Trevor Shuttleworth - Excel Aid

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Registered User
    Join Date
    12-20-2018
    Location
    Melbourne ,Australia
    MS-Off Ver
    2010
    Posts
    6

    Re: Multi IF arguments for 3 conditions

    Thanks worked well. What is strange is that I tried that but omitted the third ).
    When I deleted the third bracket on yours..got the message.. found a typo with a correction to the missing bracket)
    This did no come up when I typed it in ''Just to many arguments!!

    Many thanks

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Ipswich, England
    MS-Off Ver
    Excel 2016 (Win 10 - Work) & 365 Subscription (Win 10 - Home)
    Posts
    25,424

    Re: Multi IF arguments for 3 conditions

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


    Enthusiastic self-taught user of MS Excel who's always learning!

    STOP PRESS: Forum Rules Updated September 2018! Please read them here.
    Are you new to Power Query and don't know what to do with the code you've been given? Have a look here.
    Don't forget to say "thank you" to those who have helped you in your thread. If you wish, you can also reward them by clicking on their reputation star bottom left.

  5. #5
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2003,2007,2010
    Posts
    28,857

    Re: Multi IF arguments for 3 conditions

    You're welcome.



    If you are satisfied with the solution(s) provided, please mark your thread as Solved.


    New quick method:
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

    Or you can use this way:

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save


    You may also want to consider thanking those people who helped you by clicking on the little star at the bottom left of their reply to your question.

+ 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