Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11
Default Sorting out negative numbers

I have numbers in column A like this
A B C
-60.0 -60
-60.9 -60.9
55.0 55
-63.7 -63.7
25.0 25
-71.0 -71
35.0 35
I need to sort out only negative numbers in column C and Positve numbers to
Column B using some formula or function, can anyone help me in this i will be
really grateful. Thanks
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,510
Default Sorting out negative numbers

Assuming that the first value (-120) is in cell A2.

Insert following formula in B2:-
=IF(A2=0,A2,"")

Insert following formula in C2:-
=IF(A2<0,A2,"")

Copy the formulas down.

Note: The first formula will include zero as a positive.

--
Regards,

OssieMac


"srpavar" wrote:

I have numbers in column A like this
A B C
-60.0 -60
-60.9 -60.9
55.0 55
-63.7 -63.7
25.0 25
-71.0 -71
35.0 35
I need to sort out only negative numbers in column C and Positve numbers to
Column B using some formula or function, can anyone help me in this i will be
really grateful. Thanks

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 622
Default Sorting out negative numbers

On Jul 21, 12:59 am, OssieMac
wrote:
Assuming that the first value (-120) is in cell A2.

Insert following formula in B2:-
=IF(A2=0,A2,"")

Insert following formula in C2:-
=IF(A2<0,A2,"")


I might add:
If B and C are accounting columns, you won't want the minus sign
showing in Col C. So change that formula to: =IF(A2<0,ABS(A2),"")
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
Excel 2002 : Convert Positive Numbers to Negative Numbers ? Mr. Low Excel Discussion (Misc queries) 2 November 6th 06 03:30 PM
Set negative numbers to zero. Do not calculate with negative valu Excel Headache Excel Discussion (Misc queries) 4 September 14th 06 08:56 PM
change 2000 cells (negative numbers) into positive numbers lisbern Excel Worksheet Functions 2 August 16th 06 05:54 PM
sorting/grouping positive and negative numbers Stephen Excel Discussion (Misc queries) 1 June 1st 06 04:55 PM
Excel Formula - Add column of numbers but ignore negative numbers view for Distribution List members Excel Worksheet Functions 1 April 7th 06 03:13 AM


All times are GMT +1. The time now is 08:35 PM.

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"