Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 383
Default FORMULA Sorts neg numbers as positive..

hi, not sure about math for doing a reverse sort, with the following example
small numbers turn to large.., with a reciprocol type formula and vice-versa,
using: =TEXT(10^3/DB841,"0000")

tested for numbers pos 1-1000/(4 places) & neg numers, negs come up neg,
but do not sort to bottom as neg (Problem is they are sorting same as/mixed
in with positive numbers),
output examples: (sorts to same order)
31 0032
-29 -0048 (sorts as if "-" sign not there
29 0048
19 0053

sorting formula example:
=IF($DB$20,TEXT(10^3/DB9,"0000"),9)&IF($DA$20,TEXT(10^3/DA9,"0000"),9)& ...
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 427
Default FORMULA Sorts neg numbers as positive..

What are your sort parameters? If you were sorting Z-A instead of A-Z
then the sort you've listed is working correctly. Bear in mind that
textual representations of numbers is going to sort differently than
the numbers themselves.

Dave O
Eschew obfuscation
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
List Sorts Numbers By First Digit, Rather Than The Whole Number. [email protected] Excel Discussion (Misc queries) 3 April 10th 07 10:26 AM
change 2000 cells (negative numbers) into positive numbers lisbern Excel Worksheet Functions 2 August 16th 06 05:54 PM
formula for negative and positive numbers in different columns s.m.hardin Excel Worksheet Functions 5 December 29th 05 06:59 PM
convert negative numbers to positive numbers and vice versa bill gras Excel Worksheet Functions 4 December 7th 05 01:39 AM
FORMULA TO ADD POSITIVE AND NEGATIVE NUMBERS, REGARDLESS OF SIGN JON Excel Discussion (Misc queries) 3 July 18th 05 06:35 PM


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