+ Reply to Thread
Results 1 to 4 of 4

formula that returns a value for multiple ranges

  1. #1
    Registered User
    Join Date
    06-26-2012
    Location
    Phildelphia
    MS-Off Ver
    Excel 2010
    Posts
    75

    formula that returns a value for multiple ranges

    Hello I am looking for a formula that will enable me to return the below values (points) for the below ranges. Thanks

    $1000 to $2500 = 250 points
    $2501 to $5000 = 300 points
    $5001 to $10000 = 500 points
    $10001 to $20000 = 800 points
    >$20,000 = 1,000 points
    Last edited by ensmith; 01-06-2015 at 10:30 AM.

  2. #2
    Forum Expert Crooza's Avatar
    Join Date
    10-19-2013
    Location
    Hunter Valley, Australia
    MS-Off Ver
    Excel 2003 /7/10
    Posts
    2,082

    Re: formula that returns a value for multiple ranges

    Does this work

    =if(a1>20000,1000,if(a1>10001,800,if(a1>5001,500,if(a1>2501,300,if(a1>1000,250,0)))))
    Happy with my advice? Click on the * reputation button below

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

    Re: formula that returns a value for multiple ranges

    Or you could use a simple vlookup...
    A
    B
    C
    D
    2
    1000
    250
    19999
    800
    3
    2501
    300
    4
    5001
    500
    5
    10001
    800
    6
    20000
    1000

    C2=value to search on
    D2=VLOOKUP(C2,$A$2:$B$6,2,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
    Registered User
    Join Date
    06-26-2012
    Location
    Phildelphia
    MS-Off Ver
    Excel 2010
    Posts
    75

    Re: formula that returns a value for multiple ranges

    Yes this worked thanks.

+ 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] Create macro that searches multiple named ranges and returns name of the range with data
    By mechant in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-15-2013, 01:04 AM
  2. [SOLVED] Need a formula for ranges that returns a value for different criteria
    By cmac7872 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 10-11-2012, 12:51 PM
  3. Using two ranges as ONE RANGE in countifs with conditions. Formula returns an error
    By Lifeseeker in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-19-2011, 08:20 PM
  4. Excel 2007 : Excel IF formula with multiple returns
    By sixstringirl in forum Excel General
    Replies: 8
    Last Post: 03-29-2011, 01:38 AM
  5. formula to sum multiple returns
    By mheinmiller in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-22-2008, 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