Hello,
I watched Excel Magic Trick #223 by ExcelisFun on YouTube about counting single characters in a text string. I know I am pretty close to getting the information I need out of a LARGE spreadsheet I have with tons of data in it. Each of my main cells has a series of letters that are codes for other things. I need to extract the codes and sum them up at the bottom of the column. For instance, some of my cells look like this:
PCP, TP, N, NP, PA
N, NP, PA
PCP, S, PH
NP, PH, TP
I need my end result to be this:
PCP = 2
TP = 2
N = 2
PA = 2
etc.
Is there a way to do this? I have 65 columns and 41 rows of information so I would prefer not to have to add any columns. If I need to change my coding to just one character instead of a string (P instead of PCP) I could.
I hope all of this makes since. Thanks for your help.
I watched Excel Magic Trick #223 by ExcelisFun on YouTube about counting single characters in a text string. I know I am pretty close to getting the information I need out of a LARGE spreadsheet I have with tons of data in it. Each of my main cells has a series of letters that are codes for other things. I need to extract the codes and sum them up at the bottom of the column. For instance, some of my cells look like this:
PCP, TP, N, NP, PA
N, NP, PA
PCP, S, PH
NP, PH, TP
I need my end result to be this:
PCP = 2
TP = 2
N = 2
PA = 2
etc.
Is there a way to do this? I have 65 columns and 41 rows of information so I would prefer not to have to add any columns. If I need to change my coding to just one character instead of a string (P instead of PCP) I could.
I hope all of this makes since. Thanks for your help.