ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Formula for Extracting Alphabetic Part of a Product Code (https://www.excelbanter.com/excel-worksheet-functions/5328-formula-extracting-alphabetic-part-product-code.html)

ob3ron02

Formula for Extracting Alphabetic Part of a Product Code
 

Thanks for your replies! Unfortunetly I'm told the format for the part
#s have now changed... They're similar to before only they will always
be prefixed with two digits and MAY be suffixed with one letter. So
19ACOV084A is valid part # as i 17FV276. blah not worth it. the
formula i have now (first two digits of the letters) is good enough for
95% of the cases. Thank you and I'm sorry I wasted your time!


--
ob3ron02
------------------------------------------------------------------------
ob3ron02's Profile: http://www.excelforum.com/member.php...o&userid=15450
View this thread: http://www.excelforum.com/showthread...hreadid=273584


Frank Kabel

Hi
try the following array formula:
=LEFT(MID(A1,3,1024),MIN(IF(ISNUMBER(-MID(MID(A1,3,1024),seq,1)),seq)-1
)

--
Regards
Frank Kabel
Frankfurt, Germany


ob3ron02 wrote:
Thanks for your replies! Unfortunetly I'm told the format for the
part #s have now changed... They're similar to before only they will
always be prefixed with two digits and MAY be suffixed with one
letter. So 19ACOV084A is valid part # as i 17FV276. blah not worth
it. the formula i have now (first two digits of the letters) is good
enough for 95% of the cases. Thank you and I'm sorry I wasted your
time!




All times are GMT +1. The time now is 06:30 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com