+ Reply to Thread
Results 1 to 3 of 3

Can't find formula giving last match of three criteria

  1. #1
    Valued Forum Contributor
    Join Date
    01-16-2012
    Location
    England
    MS-Off Ver
    MS 365
    Posts
    1,394

    Can't find formula giving last match of three criteria

    As shown on attached. Col A has User Names. Col B shows dates various mailers were sent to them. If Col C is Zero, they never opened the mailer.

    I have the formula showing the date the latest Mailer was sent to each person (=LOOKUP(2,1/($A$1:$A$16=$G2),$B$1:$B$16)

    What I need is the third criteria - What was the date of the last mail they actually opened? (i.e. Find the last date in Col B where the name matches Col A and Col C is not Zero)

    J15 - 20 shows what the result should be.

    All suggestions, pointers and guidance welcome as ever.

    Ochimus
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    06-08-2012
    Location
    Left the forum!
    MS-Off Ver
    Left the forum!
    Posts
    5,189

    Re: Can't find formula giving last match of three criteria

    Array confirmed with Shift Ctrl Enter

    =IFERROR(1/(1/MAX(($A$2:$A$16=G15)*($C$2:$C$16>0)*$B$2:$B$16)),"")

    edit:-

    or

    =IFERROR(LOOKUP(2,1/(($A$2:$A$16=G15)*$C$2:$C$16),$B$2:$B$16),"")

    Didn't post it before cos results were wrong, just realised that I had parentheses misplaced.
    Last edited by jason.b75; 06-13-2018 at 04:25 PM.

  3. #3
    Valued Forum Contributor
    Join Date
    01-16-2012
    Location
    England
    MS-Off Ver
    MS 365
    Posts
    1,394

    Re: Can't find formula giving last match of three criteria

    Jason,

    Both prompt solutions much appreciated. Odd that I've never had this question before in all the time I've used Excel!

    Still not sure where the formulae determine that Col C has to be blank?

    Now posting this as "Solved"

    Ochimus

+ 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] Index - Match formula not giving me an expected result
    By longbow007 in forum Excel General
    Replies: 5
    Last Post: 11-25-2015, 07:34 PM
  2. [SOLVED] IS Number Match formula giving non existing results
    By Easymaths in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-18-2015, 11:37 AM
  3. [SOLVED] using a lookup formula to find all rows that match same criteria
    By nicki_rae22 in forum Excel General
    Replies: 3
    Last Post: 12-09-2014, 10:38 AM
  4. Simple Index Match formula giving me problems with 2 way lookup
    By rikkyshh in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-18-2013, 06:47 AM
  5. Lookup or match function with multiple criteria giving different results
    By Mian USman in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-24-2013, 09:15 AM
  6. Replies: 6
    Last Post: 07-09-2012, 11:06 AM
  7. Replies: 5
    Last Post: 02-29-2012, 08:51 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