I have a column in SharePoint containing information like this:
ABCD-D-12345678-10012-.PDF
XYZAB-D1-87654321-2110-.PDF
ABCD-D0-12345678-10012-.PDF
XYZAB-D1-87654321-2110-.PDF
I need to break down this file name into the following groups:
Product# (first part of the string, includes the first dash)
ABCD-D
XYZAB-E1
ABCD-A0
XYZAB-D1
Serial# (second part of the string, ignores dashes)
12345678
87654321
12345678
87654321
Part# (third part of the string, ignores dashes)
10012
2110
10012
2110
I'm having a hard time getting "LEFT"; "MID" and "RIGHT" to ignore the first dash to create the first group. The same is true finding the items that are in the mid section.
I've tried this =LEFT(Name1,INT(FIND("-",Name1))) but I need it to include the first dash and the rest of the characters until the next dash.
The goal is to be able to create three calculated columns where each one of them extracts the data as described above.