+ Reply to Thread
Results 1 to 4 of 4

Help with a formula to look up/return based on 2 criteria

  1. #1
    Registered User
    Join Date
    06-13-2013
    Location
    Atlanta, ga
    MS-Off Ver
    Excel 2010
    Posts
    11

    Help with a formula to look up/return based on 2 criteria

    Hi,


    “QOH by Date" tab is my spreadsheet that lists all stock items and their quantity on hand for each day in October labeled by the column headers.

    “Request Date” tab lists all items that were back ordered in October. “Request Date" tab lists the item #(Column C), the
    Transaction Date(column H) and Actual Ship Date(Column I).

    Looking at the example items on tab "Request Date" you'll see 3 different item #s (column C) listed on several unique lines.

    From the "Request Date" tab, I'd like to match the Item# (column C) and Transaction Date (column H) to the Item #(column A) and the Header Dates on the "QOH by Date" tab. I'd like the formula to be in column M "QOH" (Request Date tab) to return the listed Quantity on Hand when the item# and transaction date matches. I provided an example of what the output should look like on the "Example" tab highlighted in yellow.

    Any help is greatly appreciated!
    Attached Files Attached Files

  2. #2
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: Help with a formula to look up/return based on 2 criteria

    =INDEX('QOH by Date'!$A$1:$AH$4,MATCH(TEXT($C2,"??"),'QOH by Date'!$A$1:$A$4,0),MATCH($H2,'QOH by Date'!$A$1:$AH$1,0))
    Try this and copy towards down
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  3. #3
    Registered User
    Join Date
    06-13-2013
    Location
    Atlanta, ga
    MS-Off Ver
    Excel 2010
    Posts
    11

    Re: Help with a formula to look up/return based on 2 criteria

    Awesome! It works perfectly. I removed some "$" to fit my complete report and BAM! Whoop there it is! Thank you Thank you!
    Your fast.

  4. #4
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: Help with a formula to look up/return based on 2 criteria

    you are welcome and thanks for your feedback and add reputation

+ 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] Formula to return specified value based on criteria
    By adriam25 in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 09-23-2014, 12:39 AM
  2. Formula to return specified value based on criteria
    By adriam25 in forum Excel General
    Replies: 8
    Last Post: 09-07-2014, 06:21 AM
  3. [SOLVED] Search and return value based on 3 criteria (array formula?)
    By AL1976 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-03-2014, 10:49 AM
  4. [SOLVED] Formula to Return ID based on Multiple Criteria
    By boldcode in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-09-2013, 02:54 PM
  5. [SOLVED] Formula to Return Bottom 3 Values From a Table Based on a Criteria
    By JungleJme in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 11-15-2012, 06:57 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