Quantcast
Channel: Hot Weekly Questions - Web Applications Stack Exchange
Viewing all articles
Browse latest Browse all 9786

In Google Sheets, is it possible to collate + auto sort multiple columns of data into a single column?

$
0
0

I used this site to discover how to auto sort a basic two column list of Object + Number. Very happy about that!

But I can't find anything about the ability to turn multiple columns of Object/Number into a single, sorted column.

As an example, let's use baseball standings.

You'd have a column for each division + another for Wins. AL West, Al Central, AL East. NL West, NL Central, NL East.

New York Yankees | 12

Boston Red Sox | 11

Baltimore Orioles | 10

Tamba Bay Rays | 9

Toronto Blue Jays | 7

That's 12 total columns.

I'd like to then add another two columns that auto sorted the entire league by wins.

Atlanta Braves | 12

New York Yankees | 12

Boston Red Sox | 11

Texas Rangers | 11

Baltimore Orioles | 10

Cleveland Guardians | 10

Chicago Cubs | 10

etc.

The issue is that it seems every sort/lookup can only see a single column. Meaning even if you can have it look at the range A:L, it can't actually see columns 2, 4, 6, 8, 10, 12 all at once. I tried doing a Query Array but that didn't collate everything into a single column.

Is this just a functionality that's beyond the capabilities of Google Sheets? Or am I missing something?

The janky solution is to have another column that lists every team and uses vlookup to auto populate wins then use =sort in another column to sort that single column of all the teams. But I'd like to cut out that middle step, if possible, just for the sake of limiting clutter/simplifying the process.

Thanks!


Viewing all articles
Browse latest Browse all 9786

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>