Sorting range of data using fomular

Stevekent

Board Regular
Joined
Jul 24, 2013
Messages
97
Office Version
  1. 365
Platform
  1. Windows
I have six columns from A1 to F1 of values that with 1st column in number from 1 to 5 but not in ascending order. The second until six columns contain word or value. As the data are copied and paste from another source, instead of using Data, and click on the A to Z, I want to have sorting formula in say H1 to M1 so that when I paste, the data is ascending order. Please see below of what I mean. Thanks a lot

4
LGB12
TH
5.5
1
2
1
LGB12
TV
6.6
1
3
1
LGB12
TV
6.6
1
3
2
LGB12
TH1
4.35
2
1
2
LGB12
TH1
4.35
2
1
3
LGB12
TH
4.7
3
1
5
LGB12
D
7.3
2
1
4
LGB12
TH
5.5
1
2
3
LGB12
TH
4.7
3
1
5
LGB12
D
7.3
2
1

<tbody>
</tbody>


<tbody>
</tbody>
 

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.

azumi

Well-known Member
Joined
Jun 4, 2013
Messages
555
Put in H1 and copied down:
=SMALL($A$1:$A$5,ROWS($A$1:A1))

Put in I1 and copied down and cross:
=INDEX(B$1:B$5,MATCH($H1,$A$1:$A$5,0))
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,163,652
Messages
5,832,928
Members
430,175
Latest member
Sheenamarie

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
Top