I have a spreadsheet with data sorted into sections which are labeled to show a relation, e.g. section A, section B, etc. (in Column D), each section has a varying number of rows (between 5-150) of data. Within each section are three columns of data (Column G, H, and I).
What I need is something that will search Column D for the first instance of "Section A" (for example D15), which would be the start point, and the last instance of "Section A" (for example D25) which would be the end point. The actual range of data that I'm interested in would be in G15:I25.
From there the code would need to run one set of code on G15:G25, another set of code on H15:H25, and a third set of code on I15:I25.
My challenge is that each "section" will fluxuate from month to month, increasing and decreasing in size, which means I can't use a "set" range.
I've tried to research this online and have tried using named ranges, offset, countif, etc. and haven't been able to make anything work. I've written the code that I need for each column of data (G, H, and I), I just need help "pointing" it towards the right sections.
Hopefully this all makes sense. I'm self taught, so I'm sure that my failure to make it work is related to some gap of knowledge on my part (there are many, I'm sure). Any help on this would be greatly appreciated!!!