maggiej0531
New Member
- Joined
- Apr 24, 2015
- Messages
- 1
Hi all --
I have a csv file with data from the Twitter API. Each row has an uneven number of data points so the two data points I am interested in -- the tweet, labeled "text" -- and the coordinate --labeled "coordinates:"-- do not fall into straight columns. I would like to line up the columns so that I can sort by coordinates (collecting all similar geographies).
I tried recording a macro to do this by searching for "text," copying into a new sheet, then searching for "coordinates" and copying into the new sheet. I'm stuck now, though, because I don't know how to loop this macro to search in the next line, paste in the new line of the next sheet, then do the same task to the end of the sheet. An added complication is that after the initial coordinate data point, there can sometimes be additional coordinate data points later in any given row. Any help would be very helpful!!!
Thanks in advance.
I have a csv file with data from the Twitter API. Each row has an uneven number of data points so the two data points I am interested in -- the tweet, labeled "text" -- and the coordinate --labeled "coordinates:"-- do not fall into straight columns. I would like to line up the columns so that I can sort by coordinates (collecting all similar geographies).
I tried recording a macro to do this by searching for "text," copying into a new sheet, then searching for "coordinates" and copying into the new sheet. I'm stuck now, though, because I don't know how to loop this macro to search in the next line, paste in the new line of the next sheet, then do the same task to the end of the sheet. An added complication is that after the initial coordinate data point, there can sometimes be additional coordinate data points later in any given row. Any help would be very helpful!!!
Thanks in advance.