Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
esslingerdav
 
Posts: n/a
Default logical test - within a range

Is it possible to do a logical test on a cell that will determine whether the
number falls within a range of numbers then return a yes or no function?
  #2   Report Post  
LanceB
 
Posts: n/a
Default

If you are are talking about a range that exists on your worksheet then, if
a1:a7 was your range and b1 was the number you were checking for this might
work

=COUNTIF(A1:A7,B1)0

"esslingerdav" wrote:

Is it possible to do a logical test on a cell that will determine whether the
number falls within a range of numbers then return a yes or no function?

  #3   Report Post  
esslingerdav
 
Posts: n/a
Default

Clarification: I am talking about a number in one cell. Can I determine it
to fall between say 100 and 500. If yes - return a function, if no - return
a different function.

"esslingerdav" wrote:

Is it possible to do a logical test on a cell that will determine whether the
number falls within a range of numbers then return a yes or no function?

  #4   Report Post  
Don Guillett
 
Posts: n/a
Default

Have a look in HELP index for AND . Then mix with an IF function.
=and(if
--
Don Guillett
SalesAid Software

"esslingerdav" wrote in message
...
Is it possible to do a logical test on a cell that will determine whether

the
number falls within a range of numbers then return a yes or no function?



  #5   Report Post  
LanceB
 
Posts: n/a
Default

As an example if you were to enter 200 in a1, a1 would return the results of
a function? You could through a macro on the change event.

if you want a diffent cell to return the results of the value in a1 then as
an example in
b1 you could have
=if(and(a1100,a1<500),funtion1,funtion2)

hope this helps

"esslingerdav" wrote:

Clarification: I am talking about a number in one cell. Can I determine it
to fall between say 100 and 500. If yes - return a function, if no - return
a different function.

"esslingerdav" wrote:

Is it possible to do a logical test on a cell that will determine whether the
number falls within a range of numbers then return a yes or no function?

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
range names Pedro Excel Worksheet Functions 2 January 18th 05 03:38 AM
Defined range difficulty Pat Excel Discussion (Misc queries) 7 January 16th 05 09:52 PM
named range refers to: in a chart Spencer Hutton Excel Discussion (Misc queries) 1 December 14th 04 10:15 PM
range names Pedro Excel Worksheet Functions 1 November 9th 04 06:27 PM
range name Pedro Excel Worksheet Functions 0 November 9th 04 06:22 PM


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