Count instances of negative number

sharky12345

Well-known Member
Joined
Aug 5, 2010
Messages
3,422
Office Version
  1. 2016
Platform
  1. Windows
Can someone show me a formula please that can count the number of instances that a cell value is a minus number and by that I mean less than zero?

The range will be G2:G50.
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
Like this?

=countif(G2:G50,"<0")
 
Upvote 0
Hi Rory,

No - that doesn't work for some reason. I have 1 cell currently which has a formula result of -1, so your suggestion should pick that up but it doesn't.
 
Upvote 0
What are you getting for your results and where did you put that formula, in one cell or in multiple cells?
 
Upvote 0
This is what I'm using for the results, (in each cell within the range);


And I've put Rory's suggestion in a single cell on the same worksheet.
 
Upvote 0
No I meant what did his formula give you for a result, and what are you expecting?

I tried his formula and it works just fine for me.

Can you do an =isnumber(gXX) on the cell in question, are you sure it maybe isn't formatted as text for some reason.
 
Upvote 0
You still didn't say what the result of the COUNTIF formula was?
 
Upvote 0

Forum statistics

Threads
1,223,907
Messages
6,175,301
Members
452,633
Latest member
DougMo

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