![]() |
count the number of digits ISBN : 0524102434
I need to find a way to count the number of digits in cells that contain
information such as "ISBN : 0524102434". If the number of digits is not 10 or 13 then the ISBN is not valid. The digits, may sometimes, include an X. |
count the number of digits ISBN : 0524102434
Say ISBN No. is in A1, then
=LEN(TRIM(SUBSTITUTE(SUBSTITUTE(A1,"ISBN",""),":", ""))) Regards, Stefi €˛Max Bialystock€¯ ezt Ć*rta: I need to find a way to count the number of digits in cells that contain information such as "ISBN : 0524102434". If the number of digits is not 10 or 13 then the ISBN is not valid. The digits, may sometimes, include an X. |
count the number of digits ISBN : 0524102434
Hi Max
Assuming all entries start with "ISBN: " i.e. 6 characters, then =IF(OR(LEN(A1)=16,LEN(A1)=19),"OK","Incorrect") -- Regards Roger Govier "Max Bialystock" wrote in message ... I need to find a way to count the number of digits in cells that contain information such as "ISBN : 0524102434". If the number of digits is not 10 or 13 then the ISBN is not valid. The digits, may sometimes, include an X. |
All times are GMT +1. The time now is 02:16 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com