Hi team,
I have some entries in cells of a column. See example below
A
1 AB67436C1 | SR7487OP | KW465875QP | LO68782XE | SR5743257TA
2 LO68782XE | KW465875QP | AB67436C1 | SR465456YA | BV47586TR
3 DZ7645657UO
I want to have a macro that extract the individual entries based on the the first two alphabets. The macro should work in the following manner.
It ask me to enter (in an inputbox) the list of two alphabets, like "SR, LO, BV".
ask me to enter (in second inputbox) the column number in which the extracted data should be pasted. Like "4".
It gives output in the 4th column like below
D
1 SR7487OP | LO68782XE | SR5743257TA
2 LO68782XE | SR465456YA | BV47586TR
3 Not Available
Looking forward in anticipation!
Thank you.
I have some entries in cells of a column. See example below
A
1 AB67436C1 | SR7487OP | KW465875QP | LO68782XE | SR5743257TA
2 LO68782XE | KW465875QP | AB67436C1 | SR465456YA | BV47586TR
3 DZ7645657UO
I want to have a macro that extract the individual entries based on the the first two alphabets. The macro should work in the following manner.
It ask me to enter (in an inputbox) the list of two alphabets, like "SR, LO, BV".
ask me to enter (in second inputbox) the column number in which the extracted data should be pasted. Like "4".
It gives output in the 4th column like below
D
1 SR7487OP | LO68782XE | SR5743257TA
2 LO68782XE | SR465456YA | BV47586TR
3 Not Available
Looking forward in anticipation!
Thank you.