+ Reply to Thread
Results 1 to 3 of 3

Formula needed to identify number within a range of numbers

  1. #1
    Registered User
    Join Date
    07-26-2012
    Location
    Bristol, England
    MS-Off Ver
    Excel 2003
    Posts
    2

    Smile Formula needed to identify number within a range of numbers

    Hi

    I was hoping for some help in identifying whether what I want to do can be done...

    I have a cost and then I have a list of scores allocated to each cost. I have identified the cost and score in a table and then done sumif to look up the score of the cost identified.

    However this is only working for the round number costs that I have allocated. I.e. £650k is 98 points and £700k is 100 points but there could be a cost of £699,999k. is there anyway of making a formula to identify or round the £699 up to the £700k score?

    Many thanks to anyone who can help!
    Attached Files Attached Files

  2. #2
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Re: Formula needed to identify number within a range of numbers

    Try this...
    • Sort your Price/Score list in ascending order by Price
    Then...
    D6: =IF(ISNUMBER(C6),VLOOKUP(C6,$G$5:$H$27,2,1),"")

    Copy D6 down through D10

    Regarding VLOOKUP(C6,$G$5:$H$27,2,1) in that formula:
    The 4th argument, the 1, indicates that approximate matching is engaged. When the list items are in ascending order, it will match on the highest item that is less than or equal to the item to be found.

    Is that something you can work with?
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

  3. #3
    Registered User
    Join Date
    07-26-2012
    Location
    Bristol, England
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Formula needed to identify number within a range of numbers

    Thank you so much for replying so quickly! That works great.

    Thanks again!


+ 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