+ Reply to Thread
Results 1 to 8 of 8

Have a number value convert to text specifically

  1. #1
    Registered User
    Join Date
    10-25-2012
    Location
    CT
    MS-Off Ver
    Excel 2003
    Posts
    2

    Have a number value convert to text specifically

    Hello,

    I have a function that will generate a number, 0-4, for me all set. From the value displayed (0-4), I want a word to display. For instance, 1=below standard, 4=exemplary.

    How do I do this?

    Thanks~

  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,723

    Re: Have a number value convert to text specifically

    With your value in A9, say, you can use this formula:

    =CHOOSE(A9+1,"very bad","poor","medium","good","outstanding")

    Hope this helps.

    Pete

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Have a number value convert to text specifically

    @ Pete a9+1?
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  4. #4
    Forum Contributor
    Join Date
    10-21-2012
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    110

    Re: Have a number value convert to text specifically

    Hi pfaz73,

    Try this code:

    Please Login or Register  to view this content.

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

    Re: Have a number value convert to text specifically

    @FDibbins

    Yes, because the OP's function can return the values from 0 to 4, whereas CHOOSE takes 1 as the first choice.

    Hope this helps.

    Pete

  6. #6
    Registered User
    Join Date
    10-25-2012
    Location
    CT
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Have a number value convert to text specifically

    Yes, that worked wonderfully. Many thanks!

  7. #7
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Have a number value convert to text specifically

    ah ok, duh, of course. thanks, wasnt thinking

  8. #8
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Have a number value convert to text specifically

    @ pfaz73

    Welcome to the forum.

    Based on your last post it seems that you are satisfied with the solution(s) you've received but you haven't marked your thread as SOLVED. I'll do that for you now but please keep in mind for your future threads that Rule #9 requires you to do that yourself. If your problem has not been solved you can use Thread Tools (located above your first post) and choose "Mark this thread as unsolved".
    Thanks.

    Also, as a new member of the forum, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.

+ 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