I have data in a spreadsheet that looks like this:

A 1
A 2
A 3
B 1
B 2
B 3
B 4
C 1
C 2

I want it to be like this:

A 1 2 3 *
B 1 2 3 4
C 1 2 * *

where each letter or number is in a seperate cell. The * indicates an empty cell.

I've started copying and pasting and checking 'transpose' in the paste special dialogue but had to give up because the spreadsheet is just too large to do it manually. I've been looking at this but it doesn't exactly fit my needs. Any suggestions?

有帮助吗?

解决方案

Have you tried a PivotTable with labels (say Letter and Number) where Letter is in Row Labels, Number is in Column Labels and Sum of Number for Σ Values?

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top