+ Reply to Thread
Results 1 to 11 of 11

Lookup 2 criteria exact and in a range

  1. #1
    Registered User
    Join Date
    11-04-2013
    Location
    UK
    MS-Off Ver
    Excel 2010
    Posts
    10

    Lookup 2 criteria exact and in a range

    Help please -I need to lookup 2 criteria the first needs to be exact but the second needs to be within a range.

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,936

    Re: Lookup 2 criteria exact and in a range

    we are not mind readers, nor do many of us have crystal balls.

    please upload a small (clean) sample workbook (not a pic) of what you are working with, and what your expected outcome would look like.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    11-04-2013
    Location
    UK
    MS-Off Ver
    Excel 2010
    Posts
    10

    Re: Lookup 2 criteria exact and in a range

    Sorry, hopefully, I've got there eventually.

    The yellow column is what I'm trying to get.
    Attached Files Attached Files
    Last edited by geebers97; 06-23-2015 at 02:27 PM.

  4. #4
    Registered User
    Join Date
    11-04-2013
    Location
    UK
    MS-Off Ver
    Excel 2010
    Posts
    10

    Re: Lookup 2 criteria exact and in a range

    The yellow column is what I'm trying to get.
    Last edited by geebers97; 06-23-2015 at 02:27 PM.

  5. #5
    Valued Forum Contributor nigelbloomy's Avatar
    Join Date
    11-06-2013
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    1,011

    Re: Lookup 2 criteria exact and in a range

    Where did the amount in the cost column come from and how is it related to the ranges 1 and 2?
    Some people volunteer in soup kitchens or hospitals. I choose to make the world better by trying to help you with Excel. We're all learning.

    <---Click * Add Reputation for all helpful comments. It's like giving a smile.
    Forum Rules: How to mark your post [Solved] and have a happier, Excel enriched life.

  6. #6
    Forum Expert
    Join Date
    12-11-2011
    Location
    Netherlands
    MS-Off Ver
    office 365
    Posts
    3,293

    Re: Lookup 2 criteria exact and in a range

    Is this what you want?
    Attached Files Attached Files
    Willem
    English is not my native language sorry for errors
    Please correct me if I'm completely wrong

  7. #7
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Lookup 2 criteria exact and in a range

    in yellow the helpcells.

    in green the result.

    You added the wrong result in L7 (shoud be 38 instead of 37).

    See the attached file.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  8. #8
    Registered User
    Join Date
    11-04-2013
    Location
    UK
    MS-Off Ver
    Excel 2010
    Posts
    10

    Re: Lookup 2 criteria exact and in a range

    Columns I and J (cost) are on a separate sheet and I need to find the discount that would be given (yellow column), based on the entity and cost.

  9. #9
    Forum Expert
    Join Date
    12-11-2011
    Location
    Netherlands
    MS-Off Ver
    office 365
    Posts
    3,293

    Re: Lookup 2 criteria exact and in a range

    Your example was just 1 sheet.
    Adjust the formula and it will work

  10. #10
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,936

    Re: Lookup 2 criteria exact and in a range

    well if you have data on other sheets that needs to be referenced, dont you think it would help if you included those sheets?

  11. #11
    Registered User
    Join Date
    11-04-2013
    Location
    UK
    MS-Off Ver
    Excel 2010
    Posts
    10

    Re: Lookup 2 criteria exact and in a range

    Thank you guys for such fantastic responses and so quickly, much appreciated.

    I had an issue with rounding and popipipo's solution eliminated this.

    Thanks again!!!!

+ 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. Replies: 4
    Last Post: 01-06-2015, 09:15 PM
  2. [SOLVED] Multiple (Some Exact/ Some Not) Criteria Lookup
    By stats90 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 08-07-2013, 05:02 PM
  3. LOOKUP Having one Exact matching criteria and one between 2 date ranges.
    By Grahame Hamilton in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 10-24-2012, 06:28 AM
  4. Two criteria lookup - exact & closest match
    By kapucino in forum Excel General
    Replies: 3
    Last Post: 01-28-2012, 01:19 PM
  5. Sum exact range based on criteria
    By exceldiehardfan in forum Excel General
    Replies: 4
    Last Post: 02-23-2010, 11:26 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