Get the latest date of drawing and its revision number

Stacy Rueda

Board Regular
Joined
Jun 23, 2016
Messages
87
Hi Guys,

Have a good day.

I have excel file with duplicated part numbers per cell but these part numbers have different revision letter and dates. Now, my problem is, i want to get the unique part number and its latest revision letter and date by using Excel formula. Please help me coz the one that i am using has error. Please see below table
INDEX($E$2:$E$11990,MAX(IF($B$2:$B$11990=$I6,ROW($B$2:$B$11990)-ROW($B$2)+1)))


BEFORE:
[TABLE="width: 530"]
<colgroup><col><col><col><col><col></colgroup><tbody>[TR]
[TD]Part Number[/TD]
[TD] Drawing title[/TD]
[TD]No. of drwg.[/TD]
[TD]Drawing rev.[/TD]
[TD]Date of Distribution[/TD]
[/TR]
[TR]
[TD="align: right"]63550 [/TD]
[TD]RES4[/TD]
[TD]1[/TD]
[TD]A[/TD]
[TD]Nov/13/2013[/TD]
[/TR]
[TR]
[TD="align: right"]18751 [/TD]
[TD]Led[/TD]
[TD]1[/TD]
[TD]F[/TD]
[TD]Nov/13/2013[/TD]
[/TR]
[TR]
[TD="align: right"]21603 [/TD]
[TD]PCB ,1240[/TD]
[TD]1[/TD]
[TD]A[/TD]
[TD]Dec/26/2016[/TD]
[/TR]
[TR]
[TD="align: right"]22744[/TD]
[TD] ASSY,CPU[/TD]
[TD]1[/TD]
[TD]A[/TD]
[TD]Jun/26/2014[/TD]
[/TR]
[TR]
[TD="align: right"]22744[/TD]
[TD] PCB CPU[/TD]
[TD]1[/TD]
[TD]A[/TD]
[TD]May/13/2014[/TD]
[/TR]
[TR]
[TD="align: right"]22745 [/TD]
[TD]BOARD,CPU[/TD]
[TD]9[/TD]
[TD]E[/TD]
[TD]Mar/02/2017[/TD]
[/TR]
[TR]
[TD="align: right"]26094 [/TD]
[TD]CABLE, 23[/TD]
[TD]1[/TD]
[TD]C[/TD]
[TD]Jan/22/2018[/TD]
[/TR]
[TR]
[TD="align: right"]26094[/TD]
[TD] CABLE, 232C[/TD]
[TD]1[/TD]
[TD]C[/TD]
[TD]Oct/03/2017[/TD]
[/TR]
[TR]
[TD="align: right"]26094[/TD]
[TD] CABLE, 232[/TD]
[TD]1[/TD]
[TD]B[/TD]
[TD]Feb/05/2016[/TD]
[/TR]
[TR]
[TD="align: right"]26094[/TD]
[TD] CABLE[/TD]
[TD]1[/TD]
[TD]B[/TD]
[TD]Feb/05/2016[/TD]
[/TR]
[TR]
[TD="align: right"]26251 [/TD]
[TD]RES[/TD]
[TD]1[/TD]
[TD]A[/TD]
[TD]Mar/13/2015[/TD]
[/TR]
[TR]
[TD="align: right"]53454 [/TD]
[TD]RES2[/TD]
[TD]1[/TD]
[TD]A[/TD]
[TD]Mar/02/2017[/TD]
[/TR]
[TR]
[TD="align: right"]55425 [/TD]
[TD]EMC AS[/TD]
[TD]1[/TD]
[TD]A[/TD]
[TD]Nov/13/2013[/TD]
[/TR]
[TR]
[TD="align: right"]55458[/TD]
[TD] ASSY,12MOTHER[/TD]
[TD]2[/TD]
[TD]B[/TD]
[TD]Dec/26/2016[/TD]
[/TR]
[TR]
[TD="align: right"]55458[/TD]
[TD] ASSY,MOTHER[/TD]
[TD]2[/TD]
[TD]B[/TD]
[TD]Jun/02/2015[/TD]
[/TR]
</tbody>[/TABLE]

RESULT SHOULD BE LIKE THIS:
[TABLE="width: 302"]
<colgroup><col><col><col></colgroup><tbody>[TR]
[TD]Part Number[/TD]
[TD]Drawing rev.[/TD]
[TD]Date of Distribution[/TD]
[/TR]
[TR]
[TD="align: right"]63550 [/TD]
[TD]A[/TD]
[TD]Nov/13/2013[/TD]
[/TR]
[TR]
[TD="align: right"]18751 [/TD]
[TD]F[/TD]
[TD]Nov/13/2013[/TD]
[/TR]
[TR]
[TD="align: right"]21603 [/TD]
[TD]A[/TD]
[TD]Dec/26/2016[/TD]
[/TR]
[TR]
[TD="align: right"]22744[/TD]
[TD] A[/TD]
[TD]Jun/26/2014[/TD]
[/TR]
[TR]
[TD="align: right"]22745[/TD]
[TD] E[/TD]
[TD]Mar/02/2017[/TD]
[/TR]
[TR]
[TD="align: right"]26094[/TD]
[TD] C[/TD]
[TD]Jan/22/2018[/TD]
[/TR]
[TR]
[TD="align: right"]26251 [/TD]
[TD]A[/TD]
[TD]Mar/13/2015[/TD]
[/TR]
[TR]
[TD="align: right"]53454 [/TD]
[TD]A[/TD]
[TD]Mar/02/2017[/TD]
[/TR]
[TR]
[TD="align: right"]55425[/TD]
[TD] A[/TD]
[TD]Nov/13/2013[/TD]
[/TR]
[TR]
[TD="align: right"]55458 [/TD]
[TD]B[/TD]
[TD]Dec/26/2016[/TD]
[/TR]
</tbody>[/TABLE]

I have edited the table for this post, cell number may differ in the table above.

Thanks a lot!
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
hi steve the fish, yes that's true, because we have monitoring of drawing that we recieved. the latest date every part number and revision letter is what i need to reflect on formula i am using.

Thanks a lot
 
Upvote 0

Forum statistics

Threads
1,223,886
Messages
6,175,190
Members
452,616
Latest member
intern444

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