Hi, we are trying to tidy up data where the part number has been jumbled into the rest of the text in the cell
Part numbers are denoted in 2 patterns. If # is digit [0-9] and "-" is the hyphen character:
1. ####-##-###-####
2. #############
Is there a way for excel to extract the references?
Please find a table below to give some examples of data:
Huge thanks for any help
Part numbers are denoted in 2 patterns. If # is digit [0-9] and "-" is the hyphen character:
1. ####-##-###-####
2. #############
Is there a way for excel to extract the references?
Please find a table below to give some examples of data:
line | Raw_Info | Result_1 | Result_2 | Result_3 | Explanation |
1 | SC counted in 9999999999999 & 2244-99-999-9999 | 9999999999999 | 2244-99-999-9999 | 2 numeric references that match the 2 patterns we are after | |
2 | location ref 9999999 | 1 numeric reference but it doesn't match either of the patterns | |||
3 | 1600-42-123-4567, last checked 04/05/2022 | 1600-42-123-4567 | 1 numeric reference does match | ||
4 | faulty 8666-17-663-5897, try 6578865443742 | 8666-17-663-5897 | 6578865443742 | 2 numeric references that match | |
5 | nothing in here at all | 0 numeric references at all | |||
6 | found 4240-84-955-0147, lost 7946135710000, alt 7090-55-741-9631 | 4240-84-955-0147 | 7946135710000 | 7090-55-741-9631 | 3 numeric references that match the 2 patterns we are after |
Huge thanks for any help