sorting

Lowggy

New Member
Joined
Mar 3, 2018
Messages
39
I have a file with 40 plus couples with last names, first name in two consecutive rows of a column. I have another column that has a single value. The values for each couple ie two rows of a column is different. I want to sort the file keeping the couples together but sorted by the value of the other column.
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
Any chance we could have a smallish set of sample data and the expected results so that we are sure we know what we are dealing with?
 
Upvote 0
Any chance we could have a smallish set of sample data and the expected results so that we are sure we know what we are dealing with?

Here is a small section of the file. I want to sort so that the couples with the last names are sorted by column E. Ie the Almasi's have the lowest value of 7 in column E so they should be first, followed by Bergeron's who also have 7 and then Beierle's. I thought I could just sort by column A and then E but I want to keep the last names together then sort by column E.






1ALFORD, JIM*9249
1ALFORD, RUTH*15
2ALMASI, CAROL*15227
2ALMASI, DENNIS*7
3BADGER, JIM*152611
3BADGER, LYN*11
4BEIERLE, BOB*8258
4BEIERLE, CAROLYN*17
5BERGER, RHONDA*173316
5BERGER, TODD*16
6BERGERON, LESLIE*7237
6BERGERON, MAURICE*16
7BOBE, DONNA*17269
7BOBE, LARRY*9

<colgroup><col><col><col><col><col></colgroup><tbody>
</tbody>
 
Upvote 0
Could you add another column with a formula like this, copied down, anf then sort using column F?

Excel Workbook
ABCDEF
1
21ALFORD, JIM*92499
31ALFORD, RUTH*159
42ALMASI, CAROL*152277
52ALMASI, DENNIS*77
63BADGER, JIM*15261111
73BADGER, LYN*1111
84BEIERLE, BOB*82588
94BEIERLE, CAROLYN*178
105BERGER, RHONDA*17331616
115BERGER, TODD*1616
126BERGERON, LESLIE*72377
136BERGERON, MAURICE*167
147BOBE, DONNA*172699
157BOBE, LARRY*99
Sort
 
Upvote 0
Could you add another column with a formula like this, copied down, anf then sort using column F?

Sort

ABCDEF
1
21ALFORD, JIM*92499
31ALFORD, RUTH*15 9
42ALMASI, CAROL*152277
52ALMASI, DENNIS*7 7
63BADGER, JIM*15261111
73BADGER, LYN*11 11
84BEIERLE, BOB*82588
94BEIERLE, CAROLYN*17 8
105BERGER, RHONDA*17331616
115BERGER, TODD*16 16
126BERGERON, LESLIE*72377
136BERGERON, MAURICE*16 7
147BOBE, DONNA*172699
157BOBE, LARRY*9 9

<colgroup><col style="font-weight:bold; width:30px; "><col style="width:26px;"><col style="width:177px;"><col style="width:33px;"><col style="width:33px;"><col style="width:33px;"><col style="width:33px;"></colgroup><tbody>
</tbody>

Spreadsheet Formulas
CellFormula
F2=IF(E2="",F1,E2)

<tbody>
</tbody>

<tbody>
</tbody>


Excel tables to the web >> Excel Jeanie HTML 4
Yes that would work, thank you.
 
Upvote 0

Forum statistics

Threads
1,215,427
Messages
6,124,830
Members
449,190
Latest member
rscraig11

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