A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

URGENT! how count how often a vlaue occurs within a range of value



 
 
Thread Tools Display Modes
  #1  
Old August 28th, 2008, 04:02 AM posted to microsoft.public.excel.worksheet.functions
elaine9412
external usenet poster
 
Posts: 6
Default 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.
  #2  
Old August 28th, 2008, 04:15 AM posted to microsoft.public.excel.worksheet.functions
T. Valko
external usenet poster
 
Posts: 15,759
Default 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.



  #3  
Old August 28th, 2008, 04:33 AM posted to microsoft.public.excel.worksheet.functions
elaine9412
external usenet poster
 
Posts: 6
Default 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.




  #4  
Old August 28th, 2008, 06:08 PM posted to microsoft.public.excel.worksheet.functions
T. Valko
external usenet poster
 
Posts: 15,759
Default 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.






 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


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


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.