+ Reply to Thread
Results 1 to 8 of 8

Show text for these following parameters?

  1. #1
    Forum Contributor
    Join Date
    07-09-2018
    Location
    Germany
    MS-Off Ver
    2016
    Posts
    257

    Show text for these following parameters?

    I need a formula to show text in cell I6, for these following parameters?

    If I6= Between 0-10 than text 'F'
    If = Between 11-19 than text 'D'
    IF = Between 20-29 than text 'C'
    If = Between 30-39 than text 'B'
    If = Between 40-50 than text 'A'

  2. #2
    Forum Contributor
    Join Date
    09-19-2018
    Location
    USA
    MS-Off Ver
    2016
    Posts
    208

    Re: Show text for these following parameters?

    You can't have a formula in cell I6 that checks the value of cell I6 and changes itself to a text value. You could do this in another cell, or use a macro that checks whenever a change occurs in cell I6 (does not include changes due to formulas).

    So if I6 had 23 in it, then J6 (for example) could use the formula:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  3. #3
    Forum Expert CK76's Avatar
    Join Date
    06-16-2015
    Location
    ONT, Canada
    MS-Off Ver
    MS365 Apps for enterprise
    Posts
    5,887

    Re: Show text for these following parameters?

    Try...
    =LOOKUP(I6,{0,11,20,30,40},{"F","D","C","B","A"})

    Note: Anything over 40 will return A.

    Edit: Din't see that you wanted in same cell as data entry. Do above in another cell, as noted by previous poster.
    ?Progress isn't made by early risers. It's made by lazy men trying to find easier ways to do something.?
    ― Robert A. Heinlein

  4. #4
    Forum Contributor
    Join Date
    07-09-2018
    Location
    Germany
    MS-Off Ver
    2016
    Posts
    257

    Re: Show text for these following parameters?

    No the formula will be put in another cell, I6 is the number that the formula would identify, to show the result in another cell.

  5. #5
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,080

    Re: Show text for these following parameters?

    You can do that with Cf
    Select I6 > CF > New rule > Use a formula > enter =OR(I6>=0,I6<=10) >format > Number > Custom > "F" > OK
    The do the same for the other values

  6. #6
    Forum Contributor
    Join Date
    07-09-2018
    Location
    Germany
    MS-Off Ver
    2016
    Posts
    257

    Re: Show text for these following parameters?

    Its possible to make the formula ignore blank cells?

  7. #7
    Forum Contributor
    Join Date
    09-19-2018
    Location
    USA
    MS-Off Ver
    2016
    Posts
    208

    Re: Show text for these following parameters?

    Formula: copy to clipboard
    Please Login or Register  to view this content.

  8. #8
    Forum Contributor
    Join Date
    07-09-2018
    Location
    Germany
    MS-Off Ver
    2016
    Posts
    257

    Re: Show text for these following parameters?

    The formula worked ,
    Thank you ¯\_(ツ)_/¯ and everyone for the help.

+ 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. Replies: 8
    Last Post: 08-20-2018, 06:22 PM
  2. Replies: 2
    Last Post: 05-29-2017, 11:03 AM
  3. [SOLVED] Counting unique text values with 3 parameters
    By cptk4 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-07-2016, 04:11 AM
  4. [SOLVED] Position text boxes based on table of text box parameters
    By jprlimey in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-11-2014, 11:44 AM
  5. Extract parameters from a string of text
    By Lloyd04 in forum Excel General
    Replies: 5
    Last Post: 12-11-2013, 10:19 AM
  6. Replies: 10
    Last Post: 02-12-2013, 01:52 AM
  7. Replies: 0
    Last Post: 09-07-2005, 03:05 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