Excel row to column sorting

HETALK01

New Member
Joined
Aug 9, 2017
Messages
2
Hello,

I have data in the below format in excel with Name and Marks as Row Names :

Name Hetal
Marks 60
Name Jimy
Marks 40
Name Lilly
Marks 70

I want above data as below :

Name Marks
Hetal 60
Jimy 40
Lilly 70

Appreciate your help!

Thanks,
Hetal
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
Hello,

I have data in the below format in excel with Name and Marks as Row Names :

Name Hetal
Marks 60
Name Jimy
Marks 40
Name Lilly
Marks 70

I want above data as below :

Name Marks
Hetal 60
Jimy 40
Lilly 70

Appreciate your help!

Thanks,
Hetal

assuming table 1 is in cells A2:B7, add a helper column using this formula:

C2=COUNTIF($A$2:A2,A2)

then in a separate sheet:

A2=OFFSET(Sheet1!$B$1,MATCH(ROW()-1,Sheet1!$C$2:$C$7,0),0)
B2=OFFSET(Sheet1!$B$1,MATCH(ROW()-1,Sheet1!$C$2:$C$7,0)+1,0)
 
Upvote 0
Hello,

Thanks for your response. It works.
But Instead of Marks column, if i have date column, having values like

Name Hetal
Date 29-10-2007
Name Puja
Date 09-08-2017

For the date values, it show some random numbers.

Can you help here please.

Thanks,
Hetal
 
Upvote 0
Hello,

Thanks for your response. It works.
But Instead of Marks column, if i have date column, having values like

Name Hetal
Date 29-10-2007
Name Puja
Date 09-08-2017

For the date values, it show some random numbers.

Can you help here please.

Thanks,
Hetal

just format that column as Date :)
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,905
Messages
6,175,297
Members
452,633
Latest member
DougMo

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top