+ Reply to Thread
Results 1 to 4 of 4

IF Function and displaying results as words?

Hybrid View

  1. #1
    Registered User
    Join Date
    01-18-2014
    Location
    Ontario
    MS-Off Ver
    Excel 2003
    Posts
    4

    IF Function and displaying results as words?

    Hello,

    I am having trouble with some formulas displaying the results of the logical test as words.. For example.

    =IF(E4>F4,100, IF(F4>E4, 200))

    That works perfectly but I want "100" to be "Valid" and "200" to be "Invalid"

    However...

    =IF(E4>F4,Valid, IF(F4>E4, Invalid))

    only results in the #NAME? error for me?

    Any ideas?

    Thanks !

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2504 Win 11
    Posts
    24,699

    Re: IF Function and displaying results as words?

    In your formulas, enclose the words (strings or text) in quotation marks.
    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
    01-18-2014
    Location
    Ontario
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: IF Function and displaying results as words?

    Great, thank you very much for the help!!!

  4. #4
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2504 Win 11
    Posts
    24,699

    Re: IF Function and displaying results as words?

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

+ 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. displaying results of equations
    By christian.hicks in forum Word Formatting & General
    Replies: 3
    Last Post: 05-25-2011, 11:50 PM
  2. Displaying a number value in words
    By Rich134 in forum Excel General
    Replies: 3
    Last Post: 04-14-2009, 04:02 AM
  3. Displaying Corresponding Results
    By freeman in forum Excel General
    Replies: 1
    Last Post: 07-05-2007, 12:05 PM
  4. displaying results
    By n1ima in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-02-2007, 01:48 PM
  5. Match function and displaying results
    By Dan in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-21-2006, 04:55 PM

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