I have columns and rows like this:
3004 05 AA I0108 XXX HRK J, V 01
What I would like to do is create two rows and each row with value J and V, to look like this:
3004 05 AA I0108 XXX HRK J 01
3004 05 AA I0108 XXX HRK V 01
Is there a way to do this? Some sort of cross join? I have like 1500 rows with this kind of values.
can u pls uploadd workbook....?
Люди, питающие благие намерения, как раз и становятся чудовищами.
Regards, «Born in USSR»
Vusal M Dadashev
Baku, Azerbaijan
Hi and welcome to the forum.
Copy B1:C1 down, convert all to values with Copy Paste Special Values and then copy the C column underneath the B column values and sort on column B.Code:B1: =LEFT(A1,SEARCH(",",A1)-1)&" "&RIGHT(A1,LEN(A1)-SEARCH("!",SUBSTITUTE(A1," ","!",8))) C1: =LEFT(A1,SEARCH("!",SUBSTITUTE(A1," ","!",6)))&MID(A1,SEARCH("!",SUBSTITUTE(A1," ","!",7))+1,1)&" "&RIGHT(A1,LEN(A1)-SEARCH("!",SUBSTITUTE(A1," ","!",8)))
HTH
Richard Buttrey
If this was useful then please rate it appropriately.
Click the small star iconat the bottom left of my post.
I'm not so good in excel, so, where should i put this function so it reference to all 1500 rows that i have?
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks