Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MS Excel - Row Data to Columns

Status
Not open for further replies.

EricAHill

Programmer
Apr 1, 2006
3
US
I have data output where there is an index column and a sample of values for each index. Basically I want to convert:
[tt]
Index | Value
-------------
1 | 2
1 | 5
1 | 3
1 | 1
2 | 1
2 | 1
3 | 5

To a table:

Index 1 | 2 | 3 |
------------------------
2 | 1 | 5 |
5 | 1 | |
3 | | |
1 | | |
[/tt]
Such that I can run some statistics on each index value. Is this possible? I've done it before with VBA, but I was curious if anyone knew any slick alternative.

Thanks,
Eric
 
I'm familiar with PivotTables, but it will not work because I need the actual values split out, not summed (or any of the other pivot functions). I will need to run some more advanced stats on the sampling that requires each sample for each index, and that's where the PivotTable falls a bit short.

Thoughts?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top