Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 2
Default Locking all cells accross when sorting columns

Hi

Is there any way of locking all cells next to each other accross so that the
document can only be ssorted via columns?

I want to use Excel as a DVD database whereby all the information of a
particualr DVD is stored as fields accross the documnet i.e. title, genre,
year, number.

If I wanted to sort my database for example by genre, I could hightlight
that field's column and then click on the chronological sort icons.
Unfortunately, if the cells accross aren't locked then this would be useless
as a DVD's fields would no longer relate to each other.

I know it is possible to lock 2 fields (columns) together and then sort them
by whichever was highlighted first.

Thanks for your attention and any advice you can give me.

David


  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 22,906
Default Locking all cells accross when sorting columns

David

To ensure columns sort together, always pre-select all columns to sort in the
range.

Then DataSort(don't use the icons) and select the column to sort on.

DO NOT let Excel guess for you.

There is no way, unless you use code, to lock the columns together.


Gord Dibben MS Excel MVP

On Sat, 9 Sep 2006 20:42:27 +0100, "David" wrote:

Hi

Is there any way of locking all cells next to each other accross so that the
document can only be ssorted via columns?

I want to use Excel as a DVD database whereby all the information of a
particualr DVD is stored as fields accross the documnet i.e. title, genre,
year, number.

If I wanted to sort my database for example by genre, I could hightlight
that field's column and then click on the chronological sort icons.
Unfortunately, if the cells accross aren't locked then this would be useless
as a DVD's fields would no longer relate to each other.

I know it is possible to lock 2 fields (columns) together and then sort them
by whichever was highlighted first.

Thanks for your attention and any advice you can give me.

David


  #3   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 2
Default Locking all cells accross when sorting columns

Fantastic!

Thanks very much.


"Gord Dibben" <gorddibbATshawDOTca wrote in message
...
David

To ensure columns sort together, always pre-select all columns to sort in
the
range.

Then DataSort(don't use the icons) and select the column to sort on.

DO NOT let Excel guess for you.

There is no way, unless you use code, to lock the columns together.


Gord Dibben MS Excel MVP

On Sat, 9 Sep 2006 20:42:27 +0100, "David" wrote:

Hi

Is there any way of locking all cells next to each other accross so that
the
document can only be ssorted via columns?

I want to use Excel as a DVD database whereby all the information of a
particualr DVD is stored as fields accross the documnet i.e. title, genre,
year, number.

If I wanted to sort my database for example by genre, I could hightlight
that field's column and then click on the chronological sort icons.
Unfortunately, if the cells accross aren't locked then this would be
useless
as a DVD's fields would no longer relate to each other.

I know it is possible to lock 2 fields (columns) together and then sort
them
by whichever was highlighted first.

Thanks for your attention and any advice you can give me.

David





Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Locking Cells ... Without Protecting Sheet monir Excel Discussion (Misc queries) 0 April 4th 06 06:17 AM
Locking Cells ... Without Protecting Sheet monir Excel Discussion (Misc queries) 0 April 4th 06 06:15 AM
average price of 4 columns of figures but some cells can be blank bigdaddy3 Excel Worksheet Functions 3 February 14th 06 03:10 PM
checking that cells have a value before the workbook will close kcdonaldson Excel Worksheet Functions 8 December 5th 05 04:57 PM
locking a formula to cells Ringo Excel Discussion (Misc queries) 1 July 13th 05 06:49 PM


All times are GMT +1. The time now is 09:20 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"