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  

Check number within a range



 
 
Thread Tools Display Modes
  #1  
Old September 3rd, 2008, 08:38 PM posted to microsoft.public.excel.worksheet.functions
djungst
external usenet poster
 
Posts: 14
Default Check number within a range

I would like to check a number to see if it is greater than one number and
less than or equal to another number and if it is perform a calculation on
the number. How do I write that formula?
  #2  
Old September 3rd, 2008, 08:45 PM posted to microsoft.public.excel.worksheet.functions
Duke Carey
external usenet poster
 
Posts: 1,027
Default Check number within a range

let's say the number to test is in A1, the lower bound is in A2, and the
upper bound is in A3

=if(and(a1A2,A1=A3),True_formula_goes_here,False _result_goes_here)

"djungst" wrote:

I would like to check a number to see if it is greater than one number and
less than or equal to another number and if it is perform a calculation on
the number. How do I write that formula?

  #3  
Old September 3rd, 2008, 08:45 PM posted to microsoft.public.excel.worksheet.functions
Peo Sjoblom[_2_]
external usenet poster
 
Posts: 963
Default Check number within a range

=IF(AND(xy,x=z),your_calculation,"")

will return a blank if the criteria is not true

--


Regards,


Peo Sjoblom

"djungst" wrote in message
...
I would like to check a number to see if it is greater than one number and
less than or equal to another number and if it is perform a calculation on
the number. How do I write that formula?



 




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 10:57 AM.


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