+ Reply to Thread
Results 1 to 4 of 4

Look Up in Ranges

Hybrid View

  1. #1
    Registered User
    Join Date
    09-27-2007
    Location
    UK
    MS-Off Ver
    MS365
    Posts
    69

    Look Up in Ranges

    I have a table that I want to return a monetary value.

    The result is a %. For example, if the % is 74% it falls within a range and should return a value of £1.50

    I have attached the table to view.

    I have tried an Hlookup but can't seem to return a value.

    If someone could please cast an eye over and see if they could help me with this.

    Thank you
    Attached Files Attached Files

  2. #2
    Forum Expert KOKOSEK's Avatar
    Join Date
    08-03-2018
    Location
    Pole in Yorkshire, UK
    MS-Off Ver
    365/2013
    Posts
    2,765

    Re: Look Up in Ranges

    You can't use HLOOKUP if you want to find NUMBER (0.68) in range of TEXT(ex. 0 - 0.49).
    I suggest reorganized data like this:

    A
    B
    C
    D
    E
    F
    G
    2
    0.68
    1.5
    3
    4
    target range
    5
    0
    0.49
    0.59
    0.79
    0.99
    1.24
    6
    £ -
    £ 1.25
    £ 1.50
    £ 2.00
    £ 2.50
    £ 3.13


    then:


    C
    D
    2
    0.68
    =HLOOKUP(C2,B5:G6,2,1)
    Happy with my answer * Add Reputation.
    If You are happy with solution, please use Thread tools and mark thread as SOLVED.

  3. #3
    Registered User
    Join Date
    09-27-2007
    Location
    UK
    MS-Off Ver
    MS365
    Posts
    69

    Re: Look Up in Ranges

    Thank you for your help. Works perfectly.

    J

  4. #4
    Forum Expert KOKOSEK's Avatar
    Join Date
    08-03-2018
    Location
    Pole in Yorkshire, UK
    MS-Off Ver
    365/2013
    Posts
    2,765

    Re: Look Up in Ranges

    Happy to help.
    If You are happy with solution, please use Thread tools and mark thread as SOLVED.
    Thanks for rep.

+ 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] Use 2 Different Named Cell Ranges To Return Values From 1 Of the Ranges In Formula
    By DESSTRO in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 07-20-2017, 08:37 PM
  2. Replies: 11
    Last Post: 06-30-2016, 07:07 PM
  3. [SOLVED] VBA to accept pasting current named ranges into defined ranges
    By phpolicylady in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-01-2015, 01:33 PM
  4. [SOLVED] I need to set ranges for Unique values, then from those ranges pick random cells...
    By Darth269 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-21-2014, 04:45 PM
  5. Replies: 0
    Last Post: 10-15-2012, 07:24 AM
  6. Copy data in named ranges to a newer version of the same template to identical ranges
    By handstand in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-21-2006, 10:51 AM
  7. [SOLVED] assigning ranks to number ranges:, what I am trying to do is turn ranges of scores
    By nikki8327 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-24-2005, 06: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