+ Reply to Thread
Results 1 to 8 of 8

Selecting from a list of text according to a range of values

Hybrid View

Peter Robin Selecting from a list of text... 12-03-2012, 08:41 AM
Marcol Re: Selecting from a list of... 12-03-2012, 10:09 AM
Peter Robin Re: Selecting from a list of... 12-03-2012, 11:05 AM
dredwolf Re: Selecting from a list of... 12-03-2012, 10:20 AM
Marcol Re: Selecting from a list of... 12-03-2012, 01:32 PM
Peter Robin Re: Selecting from a list of... 12-04-2012, 09:08 AM
Peter Robin Re: Selecting from a list of... 12-04-2012, 09:05 AM
PTMD Re: Selecting from a list of... 01-20-2013, 11:44 PM
  1. #1
    Registered User
    Join Date
    12-03-2012
    Location
    United Kingdom
    MS-Off Ver
    Excel 2007
    Posts
    4

    Post Selecting from a list of text according to a range of values

    I am trying to create a formula in Excel that will select from a list of different text statements in response to a varying figure in another column. I’d really value. I’m not an advanced Excel user

    A pictorial way of putting it is
    A Between 0 and 10
    B Between 11 and 30
    C Between 31 and 40
    D Between 41 and 60
    E Between 61 and 70
    F Between 71 and 100

    x If x = A then return “one”
    If x = B then return “Two”

    Etc

    Etc


    One

    Two

    Three

    Four

    Five

    six

    I’ve played around with IF and MATCH and INDEX and DGET but can’t quite manage it.
    Would be very grateful for help
    Thanks
    Peter

    Sorry it's not as clear as it was within the table form that dropped out as i posted!
    Attached Files Attached Files
    Last edited by Peter Robin; 12-03-2012 at 09:38 AM. Reason: title not clear

  2. #2
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Selecting from a list of text according to a range of values

    See if this workbook helps
    Attached Files Attached Files
    If you need any more information, please feel free to ask.

    However,If this takes care of your needs, please select Thread Tools from menu above and set this topic to SOLVED. It helps everybody! ....

    Also
    اس کی مدد کرتا ہے اگر
    شکریہ کہنے کے لئے سٹار کلک کریں
    If you are satisfied by any members response to your problem please consider using the small Star icon bottom left of their post to show your appreciation.

  3. #3
    Registered User
    Join Date
    12-03-2012
    Location
    United Kingdom
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Selecting from a list of text according to a range of values

    Thanks Marcol

    This looks good. I've given it a while and can't I can't quite get it to work on my worksheet. Any chances of you applyiing it to the attached worksheet? I'd be really grateful

    Thanks

    Peter
    Attached Files Attached Files

  4. #4
    Forum Expert dredwolf's Avatar
    Join Date
    10-27-2012
    Location
    Clearwater,Canada
    MS-Off Ver
    Excel 2007
    Posts
    2,649

    Re: Selecting from a list of text according to a range of values

    You could try something like this :
    Formula: copy to clipboard

    =LOOKUP(A1,{0,11,31,41,61,71},{"One","Two","Three","Four","Five","Six"})

    Hope this helps
    A picture may be worth a thousand words, BUT, a sample Workbook is worth a thousand screenshots!
    -Add a File - click advanced (next to quick post), scroll to manage attachments, click, select add files, click select files, select file, click upload, when file shows up at bottom left, click done (bottom right), click submit
    -To mark thread Solved- go top of thread,click Thread Tools,click Mark as Solved
    If you received helpful response, please remember to hit the * of that post

  5. #5
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Selecting from a list of text according to a range of values

    This example is with a lookup table, F2:G7.

    This is easier to maintain than a fixed formula.
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    12-03-2012
    Location
    United Kingdom
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Selecting from a list of text according to a range of values

    Can't seem to find how to say Solved

    peter

  7. #7
    Registered User
    Join Date
    12-03-2012
    Location
    United Kingdom
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Selecting from a list of text according to a range of values

    hi marcol

    Thanks for that - it's worked enough for me to work on and apply in what I'm working on. Very Greatful indeed

    Peter

  8. #8
    Registered User
    Join Date
    04-12-2012
    Location
    Kariong, NSW
    MS-Off Ver
    Excel 2003
    Posts
    32

    Re: Selecting from a list of text according to a range of values

    Peter,
    Top Menu Bar has a tab called 'Forum Rules'. You can find answers to most questions here but for you, here is an extract.

    9. Acknowledge the responses you receive, good or bad. If your problem is solved, please say so clearly, and mark your thread as Solved: Click Thread Tools above your first post, select "Mark your thread as Solved". Or click the Edit button on your first post in the thread, Click Go Advanced, select [SOLVED] from the Prefix dropdown, then click Save Changes. If more than two days have elapsed, the Dropdown option or Edit button will not appear -- ask a moderator to mark it.

    Steve

+ 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