New
#1
Excel: Combining Rows Based on An Equal Value in One Column
I have attached two images of an Excel worksheet. I have gone to the trouble of taking multiple sets of three columns of associated data, that is data of x, y, z where y and z are associated with x. In building a new table with six sets of data, I put x1, x2, ..., x6 in a single column, and then spaced out y1/z1, y2/z2, ..., y6/z6 in separate columns before a sort. I then sorted on values x (all x1 to x6 in a single column).
The result is shown in the first image "pre-combine-rows"
You can see that in column "all x," many rows have identical values: for example there are five rows with value x = 218.9, and six rows with value x = 224.9. I want to combine all those rows, which combines also the values in the columns y1/z1 through y6/z6.
The result should look like the second image: "post-combine-rows"
20 rows has been combined into 5 rows.
This is a walk in the park for Excel, right? Does not even need a macro, right?
Is this one of these Database/Criteria setups?