I have searched the lounge and tried to “piece” together code to accomplish what i need done…no luck. I have a work sheet with individual initials in Column A [all initials in Column A are 3 characters in length and I have all 50 workbooks sorted alphabetically by the first letter of the initials ]. In Column B is an amount spent.
What I need help on is vba or other method to run through column A and the when the initials change {i.e. ABC to ABD, from ABD to ABE, etc.] then insert 2 blank rows. Then sum the numbers in column B for that initial. The process continues until column A is blank [or least I hope that its blank—the initials were pulled from a SQL database–so I am assuming that since I don’t “see” anything in column A, that it is really “blank”.
The worksheets do not have any named ranges, etc. though I could create them. Each worksheet varies in the amount of data in Column A [for example my first worksheet has only 600 rows of data—but several other worksheets have more than 2,500 rows of data.
Can this process be coded or otherwise mechanized? THX.