LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 947
Default Test if a number falls between 2 values

=ABS(A1-267)<114
=IF(A1153,A1<381)
=AND(A1153,A1<381)

Gotcha by 2 Characters :)

--
Dana DeLouis


"Ron Rosenfeld" wrote in message
...
On Sat, 21 Jul 2007 10:47:25 -0700, Gord Dibben <gorddibbATshawDOTca
wrote:

=IF(AND(A1153),(A1<381)


Interesting formula (although needs another close parentheses).

After I understood the logic, I could simplify it to:

=IF(A1153,A1<381)

Which is one keystroke shorter than mine:

=AND(A1153,A1<381)
--ron



 
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
Formula Help - Perform a calculation only if the result falls between 2 values Matt.Russett Excel Discussion (Misc queries) 4 June 11th 07 06:08 PM
Create formula-if value A falls between values B and C in time for Don Excel Discussion (Misc queries) 5 May 2nd 07 08:30 PM
Function that returns the page number a cell falls on Don-in-Kent-UK Excel Worksheet Functions 1 May 15th 06 05:36 PM
Countif if the value falls between 2 other values les8 New Users to Excel 3 December 7th 05 09:58 PM
Formula to determine whether number falls within range?? Cat Excel Worksheet Functions 4 September 17th 05 03:01 AM


All times are GMT +1. The time now is 05:04 AM.

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"