I have a column of data with alternating pieces of information, ABABABABABA, on and on for two hundred entries. Is there an easy way to convert that into two separate columns, one with As and the other with Bs?
Thank you
I have a column of data with alternating pieces of information, ABABABABABA, on and on for two hundred entries. Is there an easy way to convert that into two separate columns, one with As and the other with Bs?
Thank you
Before anybody looks into this, are you sure about the data?
Yes, I'm sure...
Try this
Column B
=REPT("A",SUM(LEN(A2)-LEN(SUBSTITUTE(A2,"A",""))))
Column C
=REPT("B",SUM(LEN(A2)-LEN(SUBSTITUTE(A2,"B",""))))
Then drag the formulas down, or double click the fill handle.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks