ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   sort, 2 row header (https://www.excelbanter.com/excel-worksheet-functions/82817-sort-2-row-header.html)

Kath

sort, 2 row header
 
Hello,

I would like to preserve 2 rows for headers (don't want to merge cells,
or use alt-enter to put text on two lines). How do I sort and preserve
these 2 (or more) row headers?

Thank you,
Kath


Max

sort, 2 row header
 
"Kath" wrote:
I would like to preserve 2 rows for headers (don't want to merge cells,
or use alt-enter to put text on two lines). How do I sort and preserve
these 2 (or more) row headers?


Try selecting only the data rows (below the headers)
then Data Sort Check "No header row"
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---



Kath

sort, 2 row header
 
Hi Max,

Thank you very much for the reply. It's just that I have a lot of data
rows and was trying to avoid the cumbersome task of selecting them all
each time I want to sort.

Thank you,
Kath


Max

sort, 2 row header
 
"Kath" wrote:
Thank you very much for the reply.
It's just that I have a lot of data rows and
was trying to avoid the cumbersome task of selecting them all
each time I want to sort.


Perhaps try naming the data-range,
then to select it thereafter,
just click the name from the namebox ?

Assuming data range is within A3:K100

Select A3:K100, click inside the namebox*
and key-in: MyData
Press Enter
*box with the droplist just to the left of the formula bar

Then, whenever you need to select the range for sorting,
just click on the namebox droplist and select MyData
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---



Kath

sort, 2 row header
 
Thank you very much Max.
That works!!!

Kath


Max

sort, 2 row header
 
You're welcome, Kath !
Glad it worked for you.
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Kath" wrote in message
ups.com...
Thank you very much Max.
That works!!!

Kath





All times are GMT +1. The time now is 06:41 PM.

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