【发布时间】:2014-01-15 01:16:30
【问题描述】:
是否有将列中的数据转换为矩阵或行的公式? 并转换成其他组合?
更复杂的情况如何:将宽度为 W 的矩阵重塑为宽度 N*W?
有几个类似或相关的问题。 我已经回答了其中一些,标有*。 我不断更新此列表,因为添加了新的类似(或相等)问题:
Formatting Data: Columns to Rows*
Move content from 1 column to 3 columns*
how to split one column into two columns base on conditions in EXCEL*
writing a macro to transpose 3 columns into 1 row
Excel VBA transpose with characters
Mathematical transpose in excel
How do transform a "matrix"-table to one line for each entry in excel
Convert columns with multiple rows of data to rows with multiple columns in Excel.
How to use VBA to reshape data in excel*
Sorting three columns into six, sorted horizontally by surname using excel *
divide data in one column into more column in excel
Move data from multiple columns into single row*
一些答案似乎可以“升级”到更全面的内容。 这可能吗?
转换自/转换为的示例格式是:
列
1
2
3
4
5
6
7
...
行
1 2 3 4 5 6 7 ...
矩阵(此处跨度为 4 列)
1 2 3 4
5 6 7 8
...
【问题讨论】:
-
我认为oyu可以将列转换为一行或将行转换为列(使用公式
=TRANSPOSE()或复制粘贴后);我不认为有一个“toMatrix”公式....您可能需要使用 VB 或结合许多其他公式... -
@user3116916 - 请检查下面的第 7 项。它提供了一种转置方式,不使用以下任何一种:1)
=TRANSPOSE()(需要数组公式),2) VBA,3) 特殊粘贴,4) “很多”其他公式。 -
学到了一些新东西:)
标签: excel matrix excel-formula transpose