I'm trying to produce a formula that can extract a text before that last comma.
for example:
Let's say in Cell A1 the cell has this: "A100, B100, C100, D100"
I want a formula on Cell B1 that returns the value: "C100"
I was able to produce two formulas that don't do this exactly but think a slight adjustment might do the trick.
1st Formula will return the value after the last comma i.e. "D100"
=MID(A1,FIND(CHAR(1),SUBSTITUTE(A1," ",CHAR(1),LEN(A1)-LEN(SUBSTITUTE(A1," ",""))))+1,LEN(A1))
2nd Formula will return everything before the last comma i.e. "A100, B100, C100"
=IFERROR(LEFT(A1,FIND("=",SUBSTITUTE(A1,",","=",LEN(A1)-LEN(SUBSTITUTE(A1,",",""))))-1),"")
Does anyone know what adjustment is needed to get "C100"?
Thanks in advance for your help