Problem:
Calculating the percentage of the characters from each string in column B that appear within the corresponding string in column A.
Solution:
Use the SUM, ISNUMBER, FIND, MID, ROW, INDIRECT, and LEN functions as shown in the following Array Formula:
{=SUM(--ISNUMBER(FIND(MID(B2,ROW(INDIRECT("1:"&LEN(B2))),1),A2)))/LEN(B2)}
To apply Array formula:
Select the cell, press and simultaneously press .
The applications/code on this site are distributed as is and without warranties or liability. In no event shall the owner of the copyrights, or the authors of the applications/code be liable for any loss of profit, any problems or any damage resulting from the use or evaluation of the applications/code.