+ Reply to Thread
Results 1 to 3 of 3

Lookup with 2 criteria

  1. #1
    Registered User
    Join Date
    03-17-2007
    Location
    Edinburgh
    Posts
    12

    Lookup with 2 criteria

    Hi Guys,

    Thanks for taking the time to read this thread. Hopefully you will be able to offer some assistance.

    I have attached a workbook with 2 worksheets Refund & Factor. In brief I wish to work out the refund on a ticket. To do this I have entered the start date & surrender date. In C29 I have a formula that gives the datediff in months & days. I then have some VBA that extracts the numbers and enters them into D29 & E29.

    I now need a formula to look at the factor sheet and find the intersection between 3 (months) & 19 (days) which is 13.96 and copy this to B36 on the refund sheet.

    Any help offered will be greatly appreciated.
    Attached Files Attached Files
    Last edited by daveyy; 04-07-2009 at 05:12 AM. Reason: Problem solved by Domenic

  2. #2
    Forum Expert
    Join Date
    06-18-2004
    Location
    Canada
    MS-Off Ver
    Office 2016
    Posts
    1,474

    Re: Lookup with 2 criteria

    Try...

    =INDEX(Factor!$B$3:$L$33,MATCH(Refund!E29,Factor!$A$3:$A$33,0),MATCH(Refund!D29,Factor!$B$2:$L$2,0))

  3. #3
    Registered User
    Join Date
    03-17-2007
    Location
    Edinburgh
    Posts
    12

    Re: Lookup with 2 criteria

    Many thanks Domenic.

    If I hadn't been so focused on Lookups, I should have given Index & Match a go. Thanks so much for your help, this works a treat.

    Dave

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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