Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default Sorting lists of Named Ranges

Hi!

I have a sheet all with Named Ranges in it which behaves strangely when
sorting (Excel 2000).

I get the same result if creating a new fresh file to test. For instance:
1) Create a sheet with the letters A, B, C, D, E, F in column A, rows 1-6
2) Name A1:A6 "Letters"
3) Create a second sheet, and put the formula "=Letters" in A1:A6
4) Select A1:A6 and sort on it ascending - fine
5) Now sort on it descending - and it comes out A, E, D, C, B, F ?!

I've also noticed that if you repeat sorting enough times, adjacent columns
will become out of sync.

Anyone have any idea why this is happening and what the workaround is?

Brgds

Danny


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Sorting lists of Named Ranges

When you say sort on A1:A6, on the original sheet or on the sheet with the
=Letters formula.

In any event, I couldn't reproduce your problem in xl2000.

--
Regards,
Tom Ogilvy

"Daniel Magnus Bennét Björck" wrote in message
...
Hi!

I have a sheet all with Named Ranges in it which behaves strangely when
sorting (Excel 2000).

I get the same result if creating a new fresh file to test. For instance:
1) Create a sheet with the letters A, B, C, D, E, F in column A, rows 1-6
2) Name A1:A6 "Letters"
3) Create a second sheet, and put the formula "=Letters" in A1:A6
4) Select A1:A6 and sort on it ascending - fine
5) Now sort on it descending - and it comes out A, E, D, C, B, F ?!

I've also noticed that if you repeat sorting enough times, adjacent

columns
will become out of sync.

Anyone have any idea why this is happening and what the workaround is?

Brgds

Danny




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default Sorting lists of Named Ranges

Hi!

I mean the sheet with the "=Letters" formulas.

I've tried it several times with newly created workbooks, different values,
selections, and everything, and keep getting the same result.

Others in the same company are also getting incorrect sorting, especially
under Excel 97.

Brgds

Danny

"Tom Ogilvy" wrote in message
...
When you say sort on A1:A6, on the original sheet or on the sheet with the
=Letters formula.

In any event, I couldn't reproduce your problem in xl2000.

--
Regards,
Tom Ogilvy

"Daniel Magnus Bennét Björck" wrote in message
...
Hi!

I have a sheet all with Named Ranges in it which behaves strangely when
sorting (Excel 2000).

I get the same result if creating a new fresh file to test. For

instance:
1) Create a sheet with the letters A, B, C, D, E, F in column A, rows

1-6
2) Name A1:A6 "Letters"
3) Create a second sheet, and put the formula "=Letters" in A1:A6
4) Select A1:A6 and sort on it ascending - fine
5) Now sort on it descending - and it comes out A, E, D, C, B, F ?!

I've also noticed that if you repeat sorting enough times, adjacent

columns
will become out of sync.

Anyone have any idea why this is happening and what the workaround is?

Brgds

Danny






  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Sorting lists of Named Ranges

When you define the name letters do you have

=Sheet1!$A$1:$A$6

as the refers to, including the $

if not, then that might be your problem. You need to use absolute
references.

--
Regards,
Tom Ogilvy


"Daniel Magnus Bennét Björck" wrote in message
...
Hi!

I mean the sheet with the "=Letters" formulas.

I've tried it several times with newly created workbooks, different

values,
selections, and everything, and keep getting the same result.

Others in the same company are also getting incorrect sorting, especially
under Excel 97.

Brgds

Danny

"Tom Ogilvy" wrote in message
...
When you say sort on A1:A6, on the original sheet or on the sheet with

the
=Letters formula.

In any event, I couldn't reproduce your problem in xl2000.

--
Regards,
Tom Ogilvy

"Daniel Magnus Bennét Björck" wrote in

message
...
Hi!

I have a sheet all with Named Ranges in it which behaves strangely

when
sorting (Excel 2000).

I get the same result if creating a new fresh file to test. For

instance:
1) Create a sheet with the letters A, B, C, D, E, F in column A, rows

1-6
2) Name A1:A6 "Letters"
3) Create a second sheet, and put the formula "=Letters" in A1:A6
4) Select A1:A6 and sort on it ascending - fine
5) Now sort on it descending - and it comes out A, E, D, C, B, F ?!

I've also noticed that if you repeat sorting enough times, adjacent

columns
will become out of sync.

Anyone have any idea why this is happening and what the workaround is?

Brgds

Danny








  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default Sorting lists of Named Ranges

Hi!

Yes, that's exactly what I have, Sheet1!$A$1:$A$6.

Brgds

Danny

"Tom Ogilvy" wrote in message
...
When you define the name letters do you have

=Sheet1!$A$1:$A$6

as the refers to, including the $

if not, then that might be your problem. You need to use absolute
references.

--
Regards,
Tom Ogilvy


"Daniel Magnus Bennét Björck" wrote in message
...
Hi!

I mean the sheet with the "=Letters" formulas.

I've tried it several times with newly created workbooks, different

values,
selections, and everything, and keep getting the same result.

Others in the same company are also getting incorrect sorting,

especially
under Excel 97.

Brgds

Danny

"Tom Ogilvy" wrote in message
...
When you say sort on A1:A6, on the original sheet or on the sheet with

the
=Letters formula.

In any event, I couldn't reproduce your problem in xl2000.

--
Regards,
Tom Ogilvy

"Daniel Magnus Bennét Björck" wrote in

message
...
Hi!

I have a sheet all with Named Ranges in it which behaves strangely

when
sorting (Excel 2000).

I get the same result if creating a new fresh file to test. For

instance:
1) Create a sheet with the letters A, B, C, D, E, F in column A,

rows
1-6
2) Name A1:A6 "Letters"
3) Create a second sheet, and put the formula "=Letters" in A1:A6
4) Select A1:A6 and sort on it ascending - fine
5) Now sort on it descending - and it comes out A, E, D, C, B, F ?!

I've also noticed that if you repeat sorting enough times, adjacent
columns
will become out of sync.

Anyone have any idea why this is happening and what the workaround

is?

Brgds

Danny












  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default Sorting lists of Named Ranges

I have sent the Excel example detailed to many people, and all are getting
the exact same result, using either Excel 97 or Excel 2000. Can I send it to
you privately so you can have a look at it yourself?

Brgds

Danny

"Tom Ogilvy" wrote in message
...
When you say sort on A1:A6, on the original sheet or on the sheet with the
=Letters formula.

In any event, I couldn't reproduce your problem in xl2000.

--
Regards,
Tom Ogilvy

"Daniel Magnus Bennét Björck" wrote in message
...
Hi!

I have a sheet all with Named Ranges in it which behaves strangely when
sorting (Excel 2000).

I get the same result if creating a new fresh file to test. For

instance:
1) Create a sheet with the letters A, B, C, D, E, F in column A, rows

1-6
2) Name A1:A6 "Letters"
3) Create a second sheet, and put the formula "=Letters" in A1:A6
4) Select A1:A6 and sort on it ascending - fine
5) Now sort on it descending - and it comes out A, E, D, C, B, F ?!

I've also noticed that if you repeat sorting enough times, adjacent

columns
will become out of sync.

Anyone have any idea why this is happening and what the workaround is?

Brgds

Danny






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
Named Ranges diaare Excel Worksheet Functions 0 August 24th 07 04:16 PM
How do I use Named Ranges as Data Validation Lists? Chris Mitchell Excel Worksheet Functions 2 June 23rd 07 12:15 PM
Named Ranges James Hamilton Excel Discussion (Misc queries) 1 March 15th 07 11:25 PM
Like 123, allow named ranges, and print named ranges WP Excel Discussion (Misc queries) 1 April 8th 05 06:07 PM
Named Ranges Gary T Excel Worksheet Functions 2 December 27th 04 02:28 AM


All times are GMT +1. The time now is 09:36 AM.

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

About Us

"It's about Microsoft Excel"