Latest entry (date) in multiple conditions

tchu76

New Member
Joined
Aug 17, 2013
Messages
5
Hello, guys,

Little help, please: I'm trying to figure out a formula so the data below (4 columns, several records) reveals the latest date given a "UN" and "Ref." fields:

Any guess?

Txs in advance!

Evander

----


Formula:


UN
Ref.
030001-00001 39 (required formula: latest date: (this example, 25/Aug)

<tbody>
</tbody>

----------------


Data:

UN. (A)Ref. (B) Value (C) Date dd/mm (D)
030001-0000139 56.238,5527/05
030001-0000139 56.407,2227/05
030001-0000139 56.617,4930/05
030001-0000139 56.308,2423/06
030091-03091365 7.822,3125/03
030091-03091365 7.822,3104/04
030091-03091365 7.822,3114/05
030091-03091365 7.822,3130/05
030091-03091365 7.822,3107/07
030091-03091365 7.822,3105/09
030091-03091365 7.822,3122/09
030001-0000139 55.408,2325/08

<colgroup><col><col><col><col></colgroup><tbody>
</tbody>
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
maybe something like...

=MAX(INDEX((A2:A13=A17)*(B2:B13=B17)*D2:D13,0))

in C17

A
B
C
D
1
UN. (A)</SPAN>
Ref. (B)</SPAN>
Value (C)</SPAN>
Date dd/mm (D)</SPAN>
2
030001-00001</SPAN>
39</SPAN>
56.238,55</SPAN>
27-May</SPAN>
3
030001-00001</SPAN>
39</SPAN>
56.407,22</SPAN>
27-May</SPAN>
4
030001-00001</SPAN>
39</SPAN>
56.617,49</SPAN>
30-May</SPAN>
5
030001-00001</SPAN>
39</SPAN>
56.308,24</SPAN>
23-Jun</SPAN>
6
030091-03091</SPAN>
365</SPAN>
7.822,31</SPAN>
25-Mar</SPAN>
7
030091-03091</SPAN>
365</SPAN>
7.822,31</SPAN>
4-Apr</SPAN>
8
030091-03091</SPAN>
365</SPAN>
7.822,31</SPAN>
14-May</SPAN>
9
030091-03091</SPAN>
365</SPAN>
7.822,31</SPAN>
30-May</SPAN>
10
030091-03091</SPAN>
365</SPAN>
7.822,31</SPAN>
7-Jul</SPAN>
11
030091-03091</SPAN>
365</SPAN>
7.822,31</SPAN>
5-Sep</SPAN>
12
030091-03091</SPAN>
365</SPAN>
7.822,31</SPAN>
22-Sep</SPAN>
13
030001-00001</SPAN>
39</SPAN>
55.408,23</SPAN>
25-Aug</SPAN>
14
15
Formula:</SPAN>
Ref.</SPAN>
16
UN</SPAN>
17
030001-00001</SPAN>
39</SPAN>
8/25/2014 </SPAN>

<TBODY>
</TBODY>
 
Upvote 0

Forum statistics

Threads
1,214,924
Messages
6,122,294
Members
449,077
Latest member
Rkmenon

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top