Latest Part Revision

rmhansen

New Member
Joined
Aug 29, 2017
Messages
3
Office Version
  1. 365
I have a list of parts with revisions such as below, all in one cell:
ABCD - 0
ABCD - 1
EFGH - 23
EFGH - 24
IJKL - 7
MNOP -

I need a formula to show me the "maximum" or latest revision number for each part. So result in one cell would be:
ABCD - 1
EFGH - 24
IJKL - 7
MNOP -

Thank you!!
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
what does just a - mean , high or low,
MNOP -
higher than MNOP - 7 or lower

What version of excel are you using - would be worth updating your profile to show version as solutions will be dependant on what version you have and therefore what functions available
 
Upvote 0
what does just a - mean , high or low,
MNOP -
higher than MNOP - 7 or lower

What version of excel are you using - would be worth updating your profile to show version as solutions will be dependant on what version you have and therefore what functions available
Thanks for the quick response! I'll update my profile. Version: 365 MSO (Version 2208 Build 16.0.15601.20676) 32-bit

The hyphen is just how the data is formatted. It lists the part number number, followed by a hyphen, and then the rev number if there is one. Some have revisions 1-10, some only list the latest 2 revisions, and some have no revisions at all which is what I was trying to show with the "MNOP - " example. If there is a part with a blank and a number, the number is higher.
So if both "MNOP - 7" & "MNOP - " are listed, I would want "MNOP - 7" to be the output.
 
Upvote 0
all in one cell
Hi, do you mean like this?
Book4
AB
1ABCD - 0 ABCD - 1 EFGH - 23 EFGH - 24 IJKL - 7 MNOP -ABCD - 1 EFGH - 24 IJKL - 7 MNOP -
Sheet1

Or is it more like this?
Book5
AB
1ABCD - 0ABCD - 1
2ABCD - 1EFGH - 24
3EFGH - 23IJKL - 7
4EFGH - 24MNOP -
5IJKL - 7
6MNOP -
Sheet1
 
Upvote 0
Hi, do you mean like this?
Book4
AB
1ABCD - 0 ABCD - 1 EFGH - 23 EFGH - 24 IJKL - 7 MNOP -ABCD - 1 EFGH - 24 IJKL - 7 MNOP -
Sheet1

Or is it more like this?
Book5
AB
1ABCD - 0ABCD - 1
2ABCD - 1EFGH - 24
3EFGH - 23IJKL - 7
4EFGH - 24MNOP -
5IJKL - 7
6MNOP -
Sheet1
How you have it in book5 would be perfect!
 
Upvote 0
Hi, then you could give this a try:

Book1
AB
1ABCD - 0ABCD - 1
2ABCD - 1EFGH - 24
3EFGH - 23IJKL - 7
4EFGH - 24MNOP -
5IJKL - 7
6MNOP -
Sheet1
Cell Formulas
RangeFormula
B1:B4B1=LET(PT,TEXTBEFORE(A1:A6," -"),RV,TEXTAFTER(A1:A6,"- "),UN,UNIQUE(PT),UN&" - "&BYROW(UN,LAMBDA(BR,IFERROR(MAX(FILTER(0+RV,PT=BR)),""))))
Dynamic array formulas.
 
Upvote 0

Forum statistics

Threads
1,215,094
Messages
6,123,071
Members
449,092
Latest member
ipruravindra

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