+ Reply to Thread
Results 1 to 4 of 4

IF function with more than 2 arguments.

  1. #1
    Registered User
    Join Date
    10-21-2013
    Location
    Sheffield, England
    MS-Off Ver
    Excel 2010
    Posts
    2

    IF function with more than 2 arguments.

    Hi all, first time poster but long time browser of the site.

    Is it possible to use the IF function to return 1 of 3 possible results (Red, Amber or Green)? eg...

    IF A1 is greater than 99.00%, B1 should display "Green"

    OR

    IF A1 is between 95.00% and 98.99%, B1 should display "Amber"

    OR

    IF A1 is less than 95.00%, B1 should display "Red"

    Thanks in advance for any help or advice you can offer

    Sean.

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,731

    Re: IF function with more than 2 arguments.

    Try this:

    =IF(A1>=0.99,"Green",IF(A1>=0.95,"Amber","Red"))

    Hope this helps.

    Pete

  3. #3
    Registered User
    Join Date
    10-21-2013
    Location
    Sheffield, England
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: IF function with more than 2 arguments.

    Pete,

    Thanks so much, that has worked a treat!

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,731

    Re: IF function with more than 2 arguments.

    Glad to hear it, Sean.

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

    Also, since you are relatively new to the forum, I would like to inform you that you can directly thank those who have helped you by clicking on the small "star" icon located in the lower left corner of a post that you have found to be helpful (not just in this thread - for any post that has helped you). This also adds to the reputation of the poster (the small green bars in the poster's profile).

    Pete

+ 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] IF Function - Too Many Arguments
    By djrazorback in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-29-2013, 08:27 PM
  2. Too Many Arguments for this Function
    By nohmis in forum Excel General
    Replies: 3
    Last Post: 03-08-2012, 05:34 PM
  3. 10 Arguments in a function
    By noisewatter in forum Excel General
    Replies: 2
    Last Post: 04-30-2009, 01:24 PM
  4. sum :Too many arguments for this function
    By eparsons in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-04-2007, 01:05 PM
  5. Replies: 0
    Last Post: 06-20-2006, 10:55 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