创建列的所有可能性

时间:2019-10-17 13:00:30

标签: google-sheets concatenation google-sheets-formula array-formulas google-sheets-query

我有许多列(3+),我想创建它们的所有可能变体。

例如:

Country Product Colour
UK      Shoe    Red
US      Sock    Black
CA              White
                Red

然后,我想在每一列中查看所有可能的组合。喜欢:

Country Product Colour
UK  Shoe    Red
UK  Shoe    Black
UK  Shoe    White
UK  Shoe    Red
UK  Sock    Red
UK  Sock    Black
UK  Sock    White
UK  Sock    Red
US  Shoe    Red
US  Shoe    Black
US  Shoe    White
US  Shoe    Red
US  Sock    Red
US  Sock    Black
US  Sock    White
US  Sock    Red
CA  Shoe    Red
CA  Shoe    Black
CA  Shoe    White
CA  Shoe    Red
CA  Sock    Red
CA  Sock    Black
CA  Sock    White
CA  Sock    Red

我看到的所有解决方案都只能在两列中使用,但是我可以选择3到10。

1 个答案:

答案 0 :(得分:0)

这将涵盖多达15列:

spreadsheet

0


更多内容: https://webapps.stackexchange.com/a/131019/186471