Hello there,
I have a set of data which contains part numbers in text fields. Every part number starts "288" and has 10 digits.
Because the part number can appear in several columns (but not explicitly) I have concatenated the relevant columns into one alphanumeric column.
What I want to do is have a formula that extracts every unique part number from the text and separates it with a comma. For example:
[TABLE="class: grid, width: 800"]
<tbody>[TR]
[TD]Part number 2881234567 & P/N2889876543[/TD]
[TD]2881234567,2889876543[/TD]
[/TR]
[TR]
[TD]ehwh2889999999[/TD]
[TD]2889999999[/TD]
[/TR]
[TR]
[TD]2888889991 or 2888889992 or 2888889993[/TD]
[TD]2888889991,2888889992,2888889993[/TD]
[/TR]
</tbody>[/TABLE]
I originally found =TRIM(LEFT(SUBSTITUTE(MID(12,FIND("288",A1),LEN(A1))," ",REPT(" ",100)),100)) which seemed to work, until I realised that it would stop after a space.
Is there any way around this?
I have a set of data which contains part numbers in text fields. Every part number starts "288" and has 10 digits.
Because the part number can appear in several columns (but not explicitly) I have concatenated the relevant columns into one alphanumeric column.
What I want to do is have a formula that extracts every unique part number from the text and separates it with a comma. For example:
[TABLE="class: grid, width: 800"]
<tbody>[TR]
[TD]Part number 2881234567 & P/N2889876543[/TD]
[TD]2881234567,2889876543[/TD]
[/TR]
[TR]
[TD]ehwh2889999999[/TD]
[TD]2889999999[/TD]
[/TR]
[TR]
[TD]2888889991 or 2888889992 or 2888889993[/TD]
[TD]2888889991,2888889992,2888889993[/TD]
[/TR]
</tbody>[/TABLE]
I originally found =TRIM(LEFT(SUBSTITUTE(MID(12,FIND("288",A1),LEN(A1))," ",REPT(" ",100)),100)) which seemed to work, until I realised that it would stop after a space.
Is there any way around this?