Avatar of Fordraiders
Fordraiders
Flag for United States of America asked on

extract data from first dash in cell

excel 2010 :
What I need:

=IF(ISERROR(FIND("-",B2)),B2,RIGHT(B2,FIND("-",B2)-1))

The following formula will work..but extracts after second   - (dash)

I have alphanumeric numbers like..

ape-234-qwe32

ape4-er44-564


I'm looking for
234-qwe32

er44-564

if only one dash exists...still extract data after first dash.

Thanks
fordraiders
Microsoft Excel

Avatar of undefined
Last Comment
Fordraiders

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Phillip Burton

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
SOLUTION
Rodney Endriga

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Fordraiders

ASKER
thanks ! sorry for the delay
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck