+ Reply to Thread
Results 1 to 5 of 5

Applying IF function for non-numeric values

  1. #1
    Registered User
    Join Date
    06-17-2013
    Location
    cairo,egypt
    MS-Off Ver
    Excel 2010
    Posts
    27

    Question Applying IF function for non-numeric values

    Hi
    If I want to use IF function to calculate the value for a non numerical logical value, what will be the correct formula.
    Like if I have in B3, question saying that:
    Did the candidate follow the correct protocol?
    And in C3, I have a dropdown list with the Yes/No
    In D3, I would be giving the Yes answer a “60%” while for the No answer it would be “0”

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

    Re: Applying IF function for non-numeric values

    D3: =IF(C3="Yes", 60%, 0%)


    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    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
    06-17-2013
    Location
    cairo,egypt
    MS-Off Ver
    Excel 2010
    Posts
    27

    Re: Applying IF function for non-numeric values

    Many thanks TMS
    that solved my problem

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,491

    Re: Applying IF function for non-numeric values

    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.

  5. #5
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Applying IF function for non-numeric values

    Shorter..

    =0.6*(C3="Yes")
    Life's a spreadsheet, Excel!
    Say thanks, Click *

+ 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