Count or Negative and Positive #'s

LVMan

New Member
Joined
Apr 2, 2002
Messages
49
What would the formula to count (not the sum) negative numbers within a column and then postive numbers in the same column?

Thank you!!

IE:
-1
2
2
-5
-6

3 negative
2 positive
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
Thank you Mark.. I really appreciate your help.

Do you know what the formual is for converting Caps to proper name lower case?

JOHN H SMITH to John H Smith

And is it possible to eliminate . in initials as I never use periods......

Thank you!!!
 
Upvote 0
As for the ".", highlight data cells to manipulate, and use Edit, Replace (Ctrl+H). In 'Find What' field, put the "." (no quotes), then click Replace All.
 
Upvote 0
Can you help again? I am trying to to a countif formula subtracting the > form the < in the same columns

=COUNTIF(I2:J78,">0")

MINUS

=COUNTIF(I2:J78,"<0")
 
Upvote 0
=COUNTIF(I2:J78,">0")-COUNTIF(I2:J78,"<0")
or just use the cell refs these formulae are in eg. if they are in A1 and B1, use =A1-B1
This message was edited by anno on 2002-04-08 23:36
 
Upvote 0
On 2002-04-08 23:22, LVMan wrote:
Can you help again? I am trying to to a countif formula subtracting the > form the < in the same columns

=COUNTIF(I2:J78,">0")

MINUS

=COUNTIF(I2:J78,"<0")

Try

=SUMPRODUCT((I2:J78>0)-(I2:J78<0))

Regards,

Peo Sjoblom
 
Upvote 0

Forum statistics

Threads
1,214,551
Messages
6,120,156
Members
448,948
Latest member
spamiki

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top