I'm looking for a way to filter values based on another column but keep them in the same rows they came from. Here's an example I created manually of the correct output:
The goal here is to have a formula (or maybe 3 separate filter formulas) such that the constants can be sorted based on sample number but retain the original rows they came from so that they keep their associated dates. I figure I can use something like =FILTER(B2:B,C2:C="Sample1")
to fill in column G, but that doesn't retain the rows properly.
Any help is appreciated!