I need help taking a table with multiple columns of water quality data and stacking a subset of the columns into one column, but carrying the associated row data like project, Location, latitude, etc.
Example table below.
You can see that our data is arranged by sampling event, with multiple parameters (columns) starting with pH. I need to take all of the parameters and stack them into a single column BUT each sample parameter needs to carry the row data with it, from Project column through Field Technician column.
I was lucky to find VBA code on this site that allows me to do exactly what I am asking, but the only one column of data is carried forward with each parameter. For example, I can stack all of the parameters (and leave skip blank cells) but only carrying over the "Project" column.
Example of the code I'm using is here:
Any help would be greatly appreciated. I'm happy to clarify anything that may not be clear.
THANKS!
Example table below.
You can see that our data is arranged by sampling event, with multiple parameters (columns) starting with pH. I need to take all of the parameters and stack them into a single column BUT each sample parameter needs to carry the row data with it, from Project column through Field Technician column.
I was lucky to find VBA code on this site that allows me to do exactly what I am asking, but the only one column of data is carried forward with each parameter. For example, I can stack all of the parameters (and leave skip blank cells) but only carrying over the "Project" column.
Example of the code I'm using is here:
Any help would be greatly appreciated. I'm happy to clarify anything that may not be clear.
THANKS!