I haven't done anything advanced in Excel and I found that I have no idea to do what I'm looking for. Basically, I am importing a .txt file that is a listing of directories in Sharepoint. Column A of the first row starts with Directory blah blah (and a bunch of stuff spread over 5 columns), but all I really care about is what is in column E for each row that starts with Directory. There are then a bunch of rows that start with dates (numbers) in Column A listing all of the files in the directory listed in the row above it. Then there is another row starting with Directory, then subsequent rows starting with dates again.
What I would like to do is have Excel go down Column A and if it see "Directory" I would like it to copy the contents of cell E of that same row. When it sees a date (number) I'd like it to paste the contents it copied into column F of that row. Repeating the copy and paste. So it will paste the same thing each time until it comes to a row that begins with "Directory". I should point out that there are empty rows between the rows that begin with "Directory" and thoses that begins with dates, so I'm guessing the function will just skip over these rows.
Thanks for your help!
Bookmarks