To keep your life simple, remove your merged cells in range K5:K11 such that you have Infrastructure/Utility etc repeated on each Project line... merged cells are generally best avoided.
Assuming you've done the above then, based on my interpretation of requirements (i.e. field positions can fluctuate within Cols A & H), I believe below should work:
note: I've assumed ; delimiter - modify to , if required.
the above, applied to C21:C26, would generate below values for Company 1 to 6, respectively
edit: I also assumed per your narrative, albeit not reflected in sample, that you could have other non-Infrastructure projects {i.e. numeric columns} in the same dataset
Bookmarks