hello all,
I have a .csv file that I'm opening in excel in order to clean up a few things before I can successfully import it into another program. I've attached a spreadsheet to help explain what I'm trying to do. the first sheet named "before" is what I start with. the second sheet named "after" is what I'm looking for. I'm using the yellow highlighted rows to explain what I'm looking for.
(a) there are certain things I can do by simply modifying code that a few of you have provided over the past week. examples follow :
(i) I don't need help replacing the words in the "transaction type" column with actual 3 letter transaction symbols.
(ii) I don't need help deleting columns D (amount) and E (source).
(iii) I don't need help deleting the column header row.
(b) what I do need help with is getting what I'll call "sub transactions" converted to "primary" transactions. an example. look at rows 10 through row 17 on the before sheet. the financial site that I downloaded this from chose to make my life difficult by using a "total" transaction on row 10, then providing all the details on rows 11 through 17. the entire spreadsheet is the same. so, I need the date and transaction type for the "primary transaction" to be copied to it's associated sub transactions. the result is what you see on the "after" tab in rows
(c) next, the "primary" rows are then deleted. in the example provided, this means row 10 on the "before" sheet is deleted.
(d) the final thing I need is a symbol column. so based on the name of each fund, column b (which is an inserted column) is populated with the fund symbols. these symbols are included on the tab named "list".
(e) when done, the "before" sheet looks like the "after" sheet and is ready for me to import into my financial program.
hope this makes sense.
I realize I've had a few requests for help in the past week; and I certainly don't mean to abuse the privilege. this will be the last post you'll see from me in awhile, I'd imagine.
thank you for all the help you guys have provided over the past week. it's been a real help to me.
best regards,
david
excelforum5.xlsx
Bookmarks