+ Reply to Thread
Results 1 to 2 of 2

Search information in a db interval

  1. #1
    Registered User
    Join Date
    06-18-2019
    Location
    Brasil
    MS-Off Ver
    2016
    Posts
    5

    Search information in a db interval

    Good night,

    I have a problem with excel that I can not solve.

    I have a database (Columns K, L and M) and with it I need to fill my column C, as follow image:

    Sem_título.jpg

    I need a sort of VLOOKUP that looks for the range of column A and B in the range of column K and L to give me the value of M.
    In other words the range, for example from 0 to 31,254, is within which range of column K and L? In gives me type A.

    I can do a lot of "ifs" but the database is much larger than that of the image. I need a way to do this with some function.

    Does anyone know how to help me?

    Thank you

  2. #2
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,808

    Re: Search information in a db interval

    It appears to me that it should be a basic VLOOKUP() function with the approximate match option (4th argument of VLOOKUP() is TRUE or omitted). The approximate match behavior is described in the help file (https://support.office.com/en-us/art...8-93a18ad188a1 ), but almost all of the examples online are for the exact match option. Something like =VLOOKUP(A2,$K$2:$M$13,3,TRUE) will return A.

    Will that work for you? Is there more to the question?
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

+ 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. Search/ look up information across multiple worksheets
    By nesswotr in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-20-2017, 01:05 PM
  2. help with funtion to search for information, maybe VLOOKUP?
    By Chulo in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-05-2014, 01:40 PM
  3. Replies: 1
    Last Post: 04-29-2014, 04:42 AM
  4. [SOLVED] How to make an interval and search for values within that interval?
    By gamoerma in forum Excel General
    Replies: 12
    Last Post: 10-13-2013, 10:33 AM
  5. Avg numbers in specified interval from non-interval data
    By weeble33 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-14-2013, 07:27 PM
  6. Replies: 5
    Last Post: 03-29-2013, 07:50 PM
  7. Search and select time interval in stock database
    By glanzy in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-15-2013, 05:28 AM

Tags for this Thread

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