This post is an upgrade for the request at:
of which @Marc L provided a great solution for a while ago.
And for that matter, the column, "GROUP" on the "EXTRA_DATA" sheet keeps track of the various groups as shown on the sample data sheet.
Then the "YEAR" column also records the particular year that record is linked to (There may be multiple years).
So, with the two columns added, I am looking for a way that I can get the data (from "EXTRA_DATA" sheet merged or attached to the right or corresponding group on the output sheet as shown on the "OUT_PUT_DATA" sheet (NEW REQUEST).
I have been staring at the script for a while now and the only meaningful thing I was able to do was to change :
Could someone please help me out?
Thanks in advance