LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 733
Default I need a sort to descend and ascend simultaneously

ShaneDevenshire wrote...
Here's one way:

Change your formula from

=IF($M20,$M2,IF($M2=0,"NA"))

to

=IF($M20,$M2,IF($M2=0,1))

Create the following custom format and apply it to the whole column:

[=1]"N/A";m/d/yyyy

....

Why not leave the column A formulas as-is and sort on column M?

Or make the column A formulas simple, e.g., A2: =M2 and format using

[=0]"NA";mm/dd/yyyy

? If these records sort correctly with missing column M values as 1 in
column A, they'd also sort correctly with missing column M values as 0
in column A.

 
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



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