+ Reply to Thread
Results 1 to 4 of 4

Convert number range to text e.g. 1-3 = "Low"

  1. #1
    Registered User
    Join Date
    05-11-2009
    Location
    Belfast
    MS-Off Ver
    Excel 2019
    Posts
    66

    Convert number range to text e.g. 1-3 = "Low"

    Folks I am trying to convert a range of numbers that are displayed in a column into a word e.g.:


    1, 2, 3 = Low
    4, 5, 6 = Medium
    7, 8, 9 = High

    Any ideas?

  2. #2
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Convert number range to text e.g. 1-3 = "Low"

    Do you have to account for numbers <1 and/or >9?
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  3. #3
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Convert number range to text e.g. 1-3 = "Low"

    Quote Originally Posted by Tony Valko View Post
    Do you have to account for numbers <1 and/or >9?
    Assuming not...

    Try one of these...

    =IF(A1>=7,"High",IF(A1>=4,"Medium",IF(A1>=1,"Low","")))

    =IFERROR(LOOKUP(A1,{1,4,7},{"Low","Medium","High"}),"")

  4. #4
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Convert number range to text e.g. 1-3 = "Low"

    Or try this
    Enter formula in B1 and copy down
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    v A B
    1 3 Low
    2 1 Low
    3 5 Medium
    4 8 High
    5 6 Medium
    6 9 High
    7 8 High
    8
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

+ 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] Convert Long Part Number List to "Text" Format??
    By TestMailinator in forum Excel General
    Replies: 2
    Last Post: 04-20-2015, 11:01 AM
  2. [SOLVED] Range("A1") = Sheets("Sheet2").CenterHeader.Text doesnt work.
    By HerryMarkowitz in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-27-2013, 07:06 AM
  3. Find "TEXT 1" in a range and enter "TEXT 2" in the adjacent cell
    By madreag in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 06-28-2013, 05:34 PM
  4. [SOLVED] Re: macro for converting number stored as "text" (or preceeded with ') to "number" formatting
    By markx in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-30-2006, 07:14 AM
  5. Replies: 1
    Last Post: 06-23-2006, 10:20 AM
  6. Replies: 1
    Last Post: 01-07-2006, 11:30 PM
  7. convert a number in Excel from numeric to text, i.e. "1" to "one"
    By buenavisionpaul in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-27-2005, 03: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