William
See if this gets you on the right track.
With your list in Col_A
C1: (the prefix parameter, eg L2)
D1: =MAX(IF(LEFT(A1:A10,2)=$C$1,--RIGHT(A1:A10,6)))
OR
D1:
=MAX(IF(LEFT(A1:A10,2)=$C$1,--MID(A1:A10,SEARCH("-",A1:A10)+1,255)))
Note_1: Those are ARRAY FORMULAS. For array formulas, hold down [Ctrl]
and [Shift] when you press [Enter], instead of just pressing [Enter].
Note_2: In case text wrap impacts the display, there are NO spaces in
those formulas.
Is that something you can work with?
Regards,
Ron
--
Ron Coderre
------------------------------------------------------------------------
Ron Coderre's Profile:
http://www.excelforum.com/member.php...o&userid=21419
View this thread:
http://www.excelforum.com/showthread...hreadid=550365