To return the last value containing "-", try...
=LOOKUP(9.99999999999999E+307,FIND("-",A2:A100),A2:A100)
--
Domenic
Microsoft Excel MVP
www.xl-central.com
Your Quick Reference to Excel Solutions
In article ,
dhstein wrote:
I have a column of values that contain text like XX-YY, ZZZ-DD4, etc. I want
to find the last row of the column that has a "-". Is there a function I can
use to find this (maybe SUMPRODUCT ?). Thanks for any help with this.