ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   URGENT! how count how often a vlaue occurs within a range of value (https://www.excelbanter.com/excel-worksheet-functions/200537-urgent-how-count-how-often-vlaue-occurs-within-range-value.html)

elaine9412

URGENT! how count how often a vlaue occurs within a range of value
 
What formulae do I use to count how may times a number equal to and greater
than 2 but less than 3 occurs in one row? ( I have numbers in the row that
are a mix of 1, 2, 2.5, 2.75, 3 etc).
I have tried many ways and it is not working - I appreciate your expert help.

T. Valko

URGENT! how count how often a vlaue occurs within a range of value
 
Try one of these:

=COUNTIF(A1:J1,"=2")-COUNTIF(A1:J1,"=3")

Assuming the range will contain only numbers:

=SUMPRODUCT(--(INT(A1:J1)=2))

--
Biff
Microsoft Excel MVP


"elaine9412" wrote in message
...
What formulae do I use to count how may times a number equal to and
greater
than 2 but less than 3 occurs in one row? ( I have numbers in the row
that
are a mix of 1, 2, 2.5, 2.75, 3 etc).
I have tried many ways and it is not working - I appreciate your expert
help.




elaine9412

URGENT! how count how often a vlaue occurs within a range of v
 
perfect the first option worked - you are a life saver:)

"T. Valko" wrote:

Try one of these:

=COUNTIF(A1:J1,"=2")-COUNTIF(A1:J1,"=3")

Assuming the range will contain only numbers:

=SUMPRODUCT(--(INT(A1:J1)=2))

--
Biff
Microsoft Excel MVP


"elaine9412" wrote in message
...
What formulae do I use to count how may times a number equal to and
greater
than 2 but less than 3 occurs in one row? ( I have numbers in the row
that
are a mix of 1, 2, 2.5, 2.75, 3 etc).
I have tried many ways and it is not working - I appreciate your expert
help.





T. Valko

URGENT! how count how often a vlaue occurs within a range of v
 
You're welcome. Thanks for the feedback!

--
Biff
Microsoft Excel MVP


"elaine9412" wrote in message
...
perfect the first option worked - you are a life saver:)

"T. Valko" wrote:

Try one of these:

=COUNTIF(A1:J1,"=2")-COUNTIF(A1:J1,"=3")

Assuming the range will contain only numbers:

=SUMPRODUCT(--(INT(A1:J1)=2))

--
Biff
Microsoft Excel MVP


"elaine9412" wrote in message
...
What formulae do I use to count how may times a number equal to and
greater
than 2 but less than 3 occurs in one row? ( I have numbers in the row
that
are a mix of 1, 2, 2.5, 2.75, 3 etc).
I have tried many ways and it is not working - I appreciate your expert
help.








All times are GMT +1. The time now is 02:32 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com