macro and/or functions

S

Sue

I have a table below that I want to only to see the materials with the last
purch date.
material purch date
A 1/2/2008
A 2/10/2007
A 2/12/2008
A 12/2/2006
A 3/23/2008
A 8/17/2007
B 1/2/2008
B 2/10/2007
B 2/12/2008
C 12/2/2006
C 3/23/2008
C 8/17/2007
 
T

T. Valko

Here's my best guess:

A2:A13 = mat code
B2:B13 = dates

E2:E4 = A, B, C

Enter this array formula** in F2 and copy down to F4:

=MAX(IF(A$2:A$13=E2,B$2:B$13))

Format as DATE

** array formulas need to be entered using the key combination of
CTRL,SHIFT,ENTER (not just ENTER)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Soluution macro or function 2
Lookup by multiple criteria. 5
XIRR problem 5
Editing Lookup Formula Error 6
Lookup or Vlookup? 7
Matching dates to cells 3
Looking for a formula 3
Count if dates meet certain criteria 10

Top