ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   re-arranging the data (https://www.excelbanter.com/excel-discussion-misc-queries/105305-re-arranging-data.html)

Lan

re-arranging the data
 
I have a table, which contains the data in a format like this:

group ID # of office visit
A 5
A 9
B 5
B 6
A 7


I want to re-arrange the data, so I can calculate the median, mean, and mode
of each group in excel using the data analysis tool.

I want the dat to look like this:
A B
5 5
9 6
7

How can I do that?

Thanks!


Dave F

re-arranging the data
 
Select the range of data you're looking to rearrange, copy, paste special,
transpose.

Dave

"Lan" wrote:

I have a table, which contains the data in a format like this:

group ID # of office visit
A 5
A 9
B 5
B 6
A 7


I want to re-arrange the data, so I can calculate the median, mean, and mode
of each group in excel using the data analysis tool.

I want the dat to look like this:
A B
5 5
9 6
7

How can I do that?

Thanks!


Lan

re-arranging the data
 
That is not the result I want.
If I copy, paste special, and transpose, the result would be:
A A B B A
5 9 5 6 7

I want:
A B
5 5
9 6
7

Thanks
"Dave F" wrote:

Select the range of data you're looking to rearrange, copy, paste special,
transpose.

Dave

"Lan" wrote:

I have a table, which contains the data in a format like this:

group ID # of office visit
A 5
A 9
B 5
B 6
A 7


I want to re-arrange the data, so I can calculate the median, mean, and mode
of each group in excel using the data analysis tool.

I want the dat to look like this:
A B
5 5
9 6
7

How can I do that?

Thanks!



All times are GMT +1. The time now is 03:44 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com