https://docs.google.com/spreadsheet/ccc?key=0AtgP7DEnOGEHdE9TeGNzUUdpdzB3U1JlaDY2ellpeGc
[pre]
[/pre]
====================
I want
Location Name Location reference # Mall Name if applicable Street city StateZip
(the spreadsheet is more clear)
My data looks like column A and B
I want it to look like D to J
==============
I tried Text to column, but because of the inconsistent data it doesn't really work. I copied these data directly from web.
I have also tried =INDEX($A:$A,(ROWS($1:3)-1)*2+COLUMNS($A:B)-1), and because of the inconsistent data, the data doesn't line up.
I have ALSO tried =IF(A2<>A1,1,C1+1), but they all come up as 1.
I tried to merge them into one column using =INDEX(MyData,1+INT((ROW(A1)-1)/COLUMNS(MyData)),MOD(ROW(A1)-1+COLUMNS(MyData),COLUMNS(MyData))+1), but then used =IF(A2<>A1,1,C1+1). It didn't work.
Please help!
[pre]
Code:
Location Address
Location Name Street
Location Refernece Number City state, zip
Location Name Street
Location Refernece Number City state, zip
Location Name Street
Location Refernece Number City state, zip
Location Name Mall Name
Location Refernece Number Street
City state, zip
Location Name Mall Name
Location Refernece Number Street
City state, zip
====================
I want
Location Name Location reference # Mall Name if applicable Street city StateZip
(the spreadsheet is more clear)
My data looks like column A and B
I want it to look like D to J
==============
I tried Text to column, but because of the inconsistent data it doesn't really work. I copied these data directly from web.
I have also tried =INDEX($A:$A,(ROWS($1:3)-1)*2+COLUMNS($A:B)-1), and because of the inconsistent data, the data doesn't line up.
I have ALSO tried =IF(A2<>A1,1,C1+1), but they all come up as 1.
I tried to merge them into one column using =INDEX(MyData,1+INT((ROW(A1)-1)/COLUMNS(MyData)),MOD(ROW(A1)-1+COLUMNS(MyData),COLUMNS(MyData))+1), but then used =IF(A2<>A1,1,C1+1). It didn't work.
Please help!