Hi, I have multiple worksheets that I want to combine using a batch macro. However, each has a different number of rows (line items) that I would like to be selected up to the total cost of goods. For example, shown in the table: (Actual data has numerous columns for monthly actuals, budget and forecasts)
How can I select records using such a criteria?
Thanks
| Item | Value |
| Revenue | |
| tg | 4 |
| ju | 13 |
| Total revenue | 17 |
| COGS | |
| tg | 3 |
| ju | 11 |
| Total COGS | 14 |