Hello. I have a spreadsheet that will always have, at most, the same group of rows, but some may be missing, so the rows may not always be numbered the same. For example, Accumulated Depreciation will always be there, but may be row 27 or 17. I would like to find a code that will seek out certain rows, based on the first word (in columns D or E) and add it to another total. An example is shows below. Basically I would like to create a new row called Marketing/Trading Expense, add Total 70100 Marketing Expense to Total Travel and Entertainment in the new cell, then delete the component cells. I would then mimic this to other groupings. Any thoughts? Newb programmer.
<tbody>
</tbody>
<colgroup><col span="2"><col><col><col><col><col></colgroup><tbody> </tbody> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
<tbody>
</tbody>