1
我正在尋找一種方式來將電子表格中的所有數據移動到另一個設置爲虛擬機架圖的電子表格中。從一個電子表格中提取數據並將其插入模板?
例如,我想利用格式化爲數據:
+------+---+-------------+-------+---------+-------+
| Rack | U | Service Tag | Model | Project | Owner |
+------+---+-------------+-------+---------+-------+
並插入到一個新的電子表格,其中「機架」是一個預先存在的列標題,「U」是在第一列中的值,其他四個單元合併成一個單元。所以:
+-----+----+---------+--------+---------+----------+
| 566 | 36 | 1234567 | Server | Project | John Doe |
+-----+----+---------+--------+---------+----------+
將被轉換爲:
+-----+-----+-----+-----+-----+----------+-----+-----+-----+
| U | 001 | 002 | ... | 555 | 566 | 567 | ... | n |
+-----+-----+-----+-----+-----+----------+-----+-----+-----+
| 042 | | | | | | | | |
+-----+-----+-----+-----+-----+----------+-----+-----+-----+
| 041 | | | | | | | | |
+-----+-----+-----+-----+-----+----------+-----+-----+-----+
| ... | | | | | | | | |
+-----+-----+-----+-----+-----+----------+-----+-----+-----+
| 037 | | | | | | | | |
+-----+-----+-----+-----+-----+----------+-----+-----+-----+
| 036 | | | | | John Doe | | | |
| | | | | | Server | | | |
| | | | | | Project | | | |
| | | | | | 1234567 | | | |
+-----+-----+-----+-----+-----+----------+-----+-----+-----+
| 035 | | | | | | | | |
+-----+-----+-----+-----+-----+----------+-----+-----+-----+
| ... | | | | | | | | |
+-----+-----+-----+-----+-----+----------+-----+-----+-----+
| 002 | | | | | | | | |
+-----+-----+-----+-----+-----+----------+-----+-----+-----+
| 001 | | | | | | | | |
+-----+-----+-----+-----+-----+----------+-----+-----+-----+
其中第一行和列已定義
。
有什麼方法可以自動執行此操作,或者我只是堅持手動進行操作嗎?
如果沒有超過900個需要移植的條目,手動操作就沒有問題。
這是一個簡單的'vlookup()'公式。 –