+ Reply to Thread
Results 1 to 4 of 4

Lookup value based on multiple criteria

  1. #1
    Registered User
    Join Date
    03-30-2012
    Location
    Wisconsin
    MS-Off Ver
    Excel 2010
    Posts
    20

    Lookup value based on multiple criteria

    Hello,
    I need to lookup ending inventory in a number of tanks from a long report that contains tank, gallons, and time data. There are multiple records for each tank and I need to find the one that is closest to the month end time. Example worksheet is attached.

    Report is pasted and each Tank is has a unique ID based on Site#, Product, and Tank #. Each unique ID has multiple tank readings per day, which are time stamped records within the output report. I need to reference the tank inventory (gallons) from each tank that is closest to the month-end timestamp.

    So, for the month ended 5/31/2014, the month-end date/time will be ~ 41,790.999. What is the quantity within each tank that is closest to that time? What formula would you use in C4 to return the answer "2365"?

    Thanks for your help!!
    Jim
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor Hawkeye16's Avatar
    Join Date
    02-27-2013
    Location
    Holland
    MS-Off Ver
    ├•┤ Pew Pew
    Posts
    441

    Re: Lookup value based on multiple criteria

    Try this, It should do what you want.
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    03-30-2012
    Location
    Wisconsin
    MS-Off Ver
    Excel 2010
    Posts
    20

    Re: Lookup value based on multiple criteria

    Hawkeye, that's great! I need to study up on arrays. Thanks for your help!!

  4. #4
    Valued Forum Contributor Hawkeye16's Avatar
    Join Date
    02-27-2013
    Location
    Holland
    MS-Off Ver
    ├•┤ Pew Pew
    Posts
    441

    Re: Lookup value based on multiple criteria

    No problem. Go Hawks

+ 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] Lookup and sum multiple values based on a single criteria in multiple sheets.
    By paulsanett in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-17-2014, 12:18 PM
  2. [SOLVED] Lookup based on multiple criteria
    By sasindiv in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-04-2013, 09:34 PM
  3. Value Lookup based on Multiple Criteria
    By vanharca in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-01-2012, 11:22 AM
  4. Returning a lookup value based on multiple criteria.
    By ahunter488 in forum Excel General
    Replies: 3
    Last Post: 06-09-2011, 01:55 AM
  5. Lookup based on multiple criteria
    By day92 in forum Excel General
    Replies: 3
    Last Post: 03-15-2011, 11:59 AM

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