Forestq

Active Member
Joined
May 9, 2010
Messages
482
Hi I have source data into sheet1 like:
ColumnAColumnB
Audi01/01/2015
Audi30/03/2015
Bmw06/06/2015
Audi15/07/2015
Bmw02/02/2015

<tbody>
</tbody>

Into sheet2 I have unique list of values from columnA:
ColumnAColumnB
Audi15/07/2015
Bmw06/06/2015

<tbody>
</tbody>

How to write function and put it into columnB (sheet2) that will give me max date (the newest) for value from columnA?
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
In B2 of Sheet2 control+shift+enter, not just enter, and copy down:

=MAX(IF(Sheet1!$A$2:$A$6=A2,Sheet1!$B$2:$B$6))
 
Upvote 0
Hi Aladin,

something is wrong, I got error:
Code:
=MAX(IF(Portal!$M$2:$M$15918=Sheet2!A1,Portal!$AO$2:$AO$15918))
 
Upvote 0

Forum statistics

Threads
1,216,081
Messages
6,128,696
Members
449,464
Latest member
againofsoul

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