LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Sorting issue

I guess you mean it literally displayed the formula

=SomeFormula

rather than appeared blank

=if(condition,"",formula)

Yes, getting it to evaluate the formula would fix that.

--
Regards,
Tom Ogilvy

"Pat" wrote in message
...
Since posting this question earlier today I have looked at the problem

again
and I have found the solution which was not obvious to me at the time.
The solution does not include sorting the column with the formula at all,

it
is much more simple than that.

Thanks Tom for helping out anyway.

Best regards
Pat


"Tom Ogilvy" wrote in message
...
Or in your specific example, since the empty rows are already at the

bottom,
just select A1:A8 and sort.

--
Regards,
Tom Ogilvy

"Tom Ogilvy" wrote in message
...
Sort descending, then select just the cells with values and sort

ascending.

--
Regards,
Tom Ogilvy

"Pat" wrote in message
...

Example:

A1:A10 each contains a formula
A1:A8 contains the result of the formula
A9:A10 contains only the formula but no value

If a sort is carried out on A1:A10 this will result in A1:A2

displaying
empty cells
and A3:A10 displaying the sorted recorded. The reason for this is

that
any
cell containing no value but only the formula the formula will be
displayed
first at the top of the sorted list.

Anyone know if there is code which could be included into a custom

sort
command button which takes this into account and prevents the

formula
form
displaying at the top of the sorted range displaying empty cells.

Thanks for any help with this.

Pat












 
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
Sorting issue Dr. Schwartz[_2_] Excel Discussion (Misc queries) 2 January 29th 08 03:39 PM
Sorting issue Linda Broyles Excel Worksheet Functions 2 December 7th 07 10:36 PM
sorting issue brian Excel Discussion (Misc queries) 2 May 11th 07 03:27 PM
Sorting Issue - Any help? AwfulTruth Excel Worksheet Functions 1 March 9th 07 07:17 PM
Sorting Issue Sean DeBruler Excel Discussion (Misc queries) 4 November 10th 05 07:00 PM


All times are GMT +1. The time now is 06:51 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"