Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 287
Default greater than but less than

Hello, im trying to get a if or countif formula to return a value if the
selected cell has a value of between two numbers, ie count if B3 is 10 but
<20. Sounds easy and probibly is but damned if i can get it to work.
Anyone?
--
Cheers
Aaron
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default greater than but less than

Try this:

=IF(AND(B310,B3<20),return_value_if_true,return_v alue_if_false)

Biff

"Aaron" wrote in message
...
Hello, im trying to get a if or countif formula to return a value if the
selected cell has a value of between two numbers, ie count if B3 is 10
but
<20. Sounds easy and probibly is but damned if i can get it to work.
Anyone?
--
Cheers
Aaron



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 354
Default greater than but less than

Hello,

if the B3 is =2 but <9 then 1, but if the B3 is =9 but <15 then 2, and so
on. How would the formula look like?

thank for your reply in advance!
--
Daniel from Poland


"T. Valko" wrote:

Try this:

=IF(AND(B310,B3<20),return_value_if_true,return_v alue_if_false)

Biff

"Aaron" wrote in message
...
Hello, im trying to get a if or countif formula to return a value if the
selected cell has a value of between two numbers, ie count if B3 is 10
but
<20. Sounds easy and probibly is but damned if i can get it to work.
Anyone?
--
Cheers
Aaron




  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default greater than but less than

IF(B3<2,"undefined",IF(B3<9,1,IF(B3<15,2,"again undefined")))
--
David Biddulph

"Daniel" wrote in message
...
Hello,

if the B3 is =2 but <9 then 1, but if the B3 is =9 but <15 then 2, and
so
on. How would the formula look like?

thank for your reply in advance!
--
Daniel from Poland


"T. Valko" wrote:

Try this:

=IF(AND(B310,B3<20),return_value_if_true,return_v alue_if_false)

Biff

"Aaron" wrote in message
...
Hello, im trying to get a if or countif formula to return a value if
the
selected cell has a value of between two numbers, ie count if B3 is 10
but
<20. Sounds easy and probibly is but damned if i can get it to work.
Anyone?
--
Cheers
Aaron






  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default greater than but less than



"Aaron" wrote:

Hello, im trying to get a if or countif formula to return a value if the
selected cell has a value of between two numbers, ie count if B3 is 10 but
<20. Sounds easy and probibly is but damned if i can get it to work.
Anyone?
--
Cheers
Aaron



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default greater than but less than



"Aaron" wrote:

Hello, im trying to get a if or countif formula to return a value if the
selected cell has a value of between two numbers, ie count if B3 is 10 but
<20. Sounds easy and probibly is but damned if i can get it to work.
Anyone?
--
Cheers
Aaron


=IF(AND(B110,B1<20),"COUNT",0)
Think this will do it.
Jim
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
I have Greater than, I need less than also rlee1999 Excel Worksheet Functions 3 December 12th 06 07:52 PM
if value is greater than # * by 20% if less * by 40 sypher New Users to Excel 1 November 9th 06 06:10 PM
Greater Than but Less than KaraGilsdorf Excel Worksheet Functions 5 October 18th 06 08:42 PM
IF greater than...IF less than....====== BenJAMMIN Excel Discussion (Misc queries) 3 May 29th 05 03:41 PM
Greater then/less then campsoup1988 Excel Worksheet Functions 5 January 16th 05 07:27 PM


All times are GMT +1. The time now is 12:57 AM.

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

About Us

"It's about Microsoft Excel"