Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Sorting a column with numbers into descending order

I try and do it but the cells then just cpme up with #ref! in them, why is it
doing this?

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 411
Default Sorting a column with numbers into descending order

How did you try? Manually or with VBA?

It sounds as though the numbers in your column are results of a
formula.


On Oct 4, 9:43 am, wardle86
wrote:
I try and do it but the cells then just cpme up with #ref! in them, why is it
doing this?



  #3   Report Post  
Posted to microsoft.public.excel.programming
Ken Ken is offline
external usenet poster
 
Posts: 207
Default Sorting a column with numbers into descending order


This happens a lot if there is a column in the sort area that
references another row and the row does not exist after the sort is
completed. For example, if one column contains an accumulating
amount, like a value in that row plus the total form the row above.
After the sort the new top row will reference the row above it, but if
that is the top row of the worksheet a row above will not exist and
you will get that error in the top row, and it will propogate
throughout. You could make the make the formulas a little more
robust, or you can recreate them after the sort.

Good luck.

Ken
Norfolk, Va


On Oct 4, 1:17 pm, dan dungan wrote:
How did you try? Manually or with VBA?

It sounds as though the numbers in your column are results of a
formula.

On Oct 4, 9:43 am, wardle86
wrote:



I try and do it but the cells then just cpme up with #ref! in them, why is it
doing this?- Hide quoted text -


- Show quoted text -



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
i am trying to fill a column with dates in descending order zanc1one New Users to Excel 1 January 16th 10 02:47 AM
How to order chart in descending order of Freq? Gary Charts and Charting in Excel 1 October 1st 09 01:03 PM
how can i change the order(ascending, descending) in a column? Danny Excel Discussion (Misc queries) 4 April 23rd 07 04:54 AM
CODE rectification while sorting in descending order Thulasiram[_2_] Excel Programming 6 November 27th 06 09:07 PM
Date in descending order to come up automatically in a column? Snugglebums Excel Worksheet Functions 2 January 11th 05 03:09 PM


All times are GMT +1. The time now is 07:21 AM.

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"