+ Reply to Thread
Results 1 to 6 of 6

Text interpretation

  1. #1
    Registered User
    Join Date
    07-28-2016
    Location
    Qatar
    MS-Off Ver
    2013
    Posts
    3

    Text interpretation

    Hi,
    I would like to use excel to automatically determine an text interpretation based on the numerical data that is entered into 3 other cells.
    Example:
    A1, B1 & C1 are all cells that contain numerical data. D1 needs a "final result" based on the numbers in the other cells.

    If A1 is 0, B1 is <5 and C1 is <50%, then D1 is Negative.
    If A1 is 0, B1 is <5 and C1 is >=50%, then D1 is Positive, etc.....

    Any help, ideas or suggestions are more than welcome.
    Thanks,
    Phil

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,288

    Re: Text interpretation

    What do you expect to see in D1?
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    07-28-2016
    Location
    Qatar
    MS-Off Ver
    2013
    Posts
    3

    Re: Text interpretation

    D1 will contain a pre-defined text, e.g. Negative, Positive, etc.

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,288

    Re: Text interpretation

    OK. Try this in D1:

    =IF(AND(A1=0,B1<5,C1<50%),"Negative",IF(AND(A1=0,B1<5,C1>=50%),"Positive",""))

    If this doesn't work, try this:

    =IF(AND(A1=0,B1<5,C1"<50%"),"Negative",IF(AND(A1=0,B1<5,C1">=50%"),"Positive",""))

    This will return a blank cell if neither of the two sets of criteria is met.

  5. #5
    Registered User
    Join Date
    07-28-2016
    Location
    Qatar
    MS-Off Ver
    2013
    Posts
    3

    Re: Text interpretation

    Oh awesome - that seems to work perfectly. Presumably I can then continue with IF statements when there are more than 2 possible outcomes??

    For the text result in D1, is it possible to get excel to enter a pre-listed result (e.g. typed into another cell - Z1), or do I have to type the text inside the " " of the formula each time??

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,288

    Re: Text interpretation

    Yes, you an continue to nest IF statements, but if there are a lot, you might want to consider some sort of lookup table instead.

    The text can just as easily be a cell reference where the text is stored, and if that is the case, no " " is required.

+ 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] time interpretation
    By James Ray in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-19-2015, 11:00 AM
  2. Excel statistics interpretation
    By ryanmc29 in forum Excel General
    Replies: 2
    Last Post: 03-25-2014, 08:30 PM
  3. Correlation Analysis Interpretation
    By Sam Capricci in forum Excel General
    Replies: 8
    Last Post: 09-20-2013, 05:42 PM
  4. Error Message interpretation
    By mmq9324 in forum Excel General
    Replies: 1
    Last Post: 10-27-2011, 03:32 PM
  5. [SOLVED] Textbox input interpretation
    By Mats Samson in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-19-2005, 10:05 AM
  6. [SOLVED] chitest and interpretation of the result
    By Christine in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-04-2005, 09:06 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