Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 78
Default greater than and equal to formulas

Hi, I am trying to use a =1 and <=6 function for a range in my worksheet. I
have tried this and it is not working. =COUNTIF(F2:I8,"=1""<=6")

Any help is greatly appreciated.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,501
Default greater than and equal to formulas

Melanie,

Try this

=COUNTIF(F2:I8,"=1")-COUNTIF(F2:I8,"6")

Mike

"Melanie" wrote:

Hi, I am trying to use a =1 and <=6 function for a range in my worksheet. I
have tried this and it is not working. =COUNTIF(F2:I8,"=1""<=6")

Any help is greatly appreciated.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 78
Default greater than and equal to formulas

Hi Mike,

That worked. Now to see if I can pick your brain again. I actually want to
have that same formula but with multiple ranges that are separated by a few
rows. The next range would be F18:I26. Do you know how I can do that?

Thanks,

Melanie

"Mike H" wrote:

Melanie,

Try this

=COUNTIF(F2:I8,"=1")-COUNTIF(F2:I8,"6")

Mike

"Melanie" wrote:

Hi, I am trying to use a =1 and <=6 function for a range in my worksheet. I
have tried this and it is not working. =COUNTIF(F2:I8,"=1""<=6")

Any help is greatly appreciated.

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,501
Default greater than and equal to formulas

Hi,

The most obvious answer is this

=COUNTIF(F2:I8,"=1")-COUNTIF(F2:I8,"6")+COUNTIF(F18:I26,"=1")-COUNTIF(F18:I26,"6")

but it now starts getting messy

Mike

"Melanie" wrote:

Hi Mike,

That worked. Now to see if I can pick your brain again. I actually want to
have that same formula but with multiple ranges that are separated by a few
rows. The next range would be F18:I26. Do you know how I can do that?

Thanks,

Melanie

"Mike H" wrote:

Melanie,

Try this

=COUNTIF(F2:I8,"=1")-COUNTIF(F2:I8,"6")

Mike

"Melanie" wrote:

Hi, I am trying to use a =1 and <=6 function for a range in my worksheet. I
have tried this and it is not working. =COUNTIF(F2:I8,"=1""<=6")

Any help is greatly appreciated.

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
Getpivotdata and greater than or equal to Robbro Excel Discussion (Misc queries) 2 March 13th 10 03:08 PM
SUMIF Greater than or equal to envy Excel Worksheet Functions 4 October 29th 09 12:56 AM
Greater/Less Than or Equal To Hoov Excel Discussion (Misc queries) 5 May 14th 09 05:54 PM
IF with Equal to or Greater than sonicj Excel Discussion (Misc queries) 4 May 1st 08 09:02 PM
Greater than or equal to (Plus or minus) Brandon Excel Discussion (Misc queries) 2 July 18th 06 11:34 PM


All times are GMT +1. The time now is 10:16 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"