+ Reply to Thread
Results 1 to 12 of 12

IF Forumla for range of specified values_return specified value

  1. #1
    Forum Contributor
    Join Date
    05-24-2010
    Location
    London England
    MS-Off Ver
    Excel 2003
    Posts
    345

    IF Forumla for range of specified values_return specified value

    Hi,

    I need a forumla for the following please.

    I have a range of values in column A

    I need a forumla that says,

    If value in column A is between 1-100, then fill in the cell with the letter A, If the value in col A is between 101-200, then fill the cell with B and so on until I get to W.

    any help would be seriously appreciated.

    Thanks

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: IF Forumla for range of specified values_return specified value

    Perhaps:

    Please Login or Register  to view this content.
    Last edited by DonkeyOte; 02-09-2011 at 05:42 AM. Reason: removed MIN

  3. #3
    Forum Contributor
    Join Date
    05-24-2010
    Location
    London England
    MS-Off Ver
    Excel 2003
    Posts
    345

    Re: IF Forumla for range of specified values_return specified value

    Thanks.

    Is it possible to translate that into normal english please, because I will need to adapt the forumla for the actual numbers- I wrote range 1-100 for simplicity, the actual ranges are

    10-75=A,751-1500=B.1501-2000=C.2001-3000=D,3001-4000=E,4001-5000=F5001-6000=G etc to W with a slight variation at the end.

  4. #4
    Forum Contributor
    Join Date
    05-24-2010
    Location
    London England
    MS-Off Ver
    Excel 2003
    Posts
    345

    Re: IF Forumla for range of specified values_return specified value

    Otherwise, if I typed it all out and put in a look up table

    Col 1 col 2
    10-750 A

    Would it be possible to have a formula that looks up the value in col 1, then looks that value up in col 1 of the look up table (series of ranges), then if that number is within that range, return the value in col 2 of the look up table?

  5. #5
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: IF Forumla for range of specified values_return specified value

    Quote Originally Posted by floricita
    I will need to adapt the forumla for the actual numbers
    In which case I'd suggest posting an accurate example in the first instance.

    Quote Originally Posted by floricita
    with a slight variation at the end
    which would be ?

    Quote Originally Posted by floricita
    Would it be possible to have a formula that looks up the value in col 1, then looks that value up in col 1 of the look up table (series of ranges), then if that number is within that range, return the value in col 2 of the look up table?
    Yes, see VLOOKUP though you would only detail the lower boundary number in Col 1 (10, 751 etc...) and you would list them small -> large - this assumes the boundaries are contiguous of course.

  6. #6
    Forum Contributor
    Join Date
    05-24-2010
    Location
    London England
    MS-Off Ver
    Excel 2003
    Posts
    345

    Re: IF Forumla for range of specified values_return specified value

    Full list is

    10-75=A,751-1500=B.1501-2000=C.2001-3000=D,3001-4000=E,4001-5000=F5001-6000=G,6001-7000=H,7001-9000=I,9001-11000=J,11001-13000=K,13001-15000=L,15001-19000=M,19001-23000=N,23001-27000=O,27001-31000=P,31001-35000=Q,35001-41000=R,41001-45000=S,45001-51000=T,51001-57000=U,57001=61000=V,61000+=W

  7. #7
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: IF Forumla for range of specified values_return specified value

    You can use a table as outlined or given A to W output you can use:

    Please Login or Register  to view this content.
    the choice as they say is yours but the 2 column table offers more flexibility

  8. #8
    Forum Contributor
    Join Date
    05-24-2010
    Location
    London England
    MS-Off Ver
    Excel 2003
    Posts
    345

    Re: IF Forumla for range of specified values_return specified value

    Thanks a lot

  9. #9
    Forum Contributor
    Join Date
    05-24-2010
    Location
    London England
    MS-Off Ver
    Excel 2003
    Posts
    345

    Re: IF Forumla for range of specified values_return specified value

    For my excel knowledge, would it be possible to explain in normal english some of the terms used pleased?

    I understand what the CHAR function does but not everything in the syntax used.

    It would be really appreciated for my knowledge

    Thanks

  10. #10
    Valued Forum Contributor Blake 7's Avatar
    Join Date
    10-01-2010
    Location
    Bogota, Colombia
    MS-Off Ver
    Excel 2010 64 bit and Excel 2007,
    Posts
    1,377

    Re: IF Forumla for range of specified values_return specified value

    In Excel, the N function converts a value to a number.

    The syntax for the N function is:

    N( value )

    value is a value to convert to a number.



    Note:

    •If value is a number, the N function returns a number.
    •If value is a date, the N function returns the date as a serial number.
    •If value is TRUE, the N function will return 1.
    •If value is FALSE, the N function will return 0.
    •If value is an error, the error value is returned.
    •For all other values, the N function will return 0.
    Blake 7

    If your question has been answered, please click EDIT in your original post, click GO ADVANCED and set the PREFIX box to SOLVED.

    If any member's response has helped to solve your problem, please consider using the scales icon on the top right of their post to show your appreciation.

    http://failblog.org/

  11. #11
    Forum Contributor
    Join Date
    05-24-2010
    Location
    London England
    MS-Off Ver
    Excel 2003
    Posts
    345

    Re: IF Forumla for range of specified values_return specified value

    Wow thanks, that's really great

  12. #12
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: IF Forumla for range of specified values_return specified value

    be sure to check out the other Function via Help also - they (help files) are a good resource (most of the time!)

+ 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