+ Reply to Thread
Results 1 to 6 of 6

Formula Query - TRUE WHEN NUMBER LIES BETWEEN TWO PARAMETRES

  1. #1
    Registered User
    Join Date
    01-25-2009
    Location
    Brisbane
    MS-Off Ver
    Excel 2007
    Posts
    5

    Formula Query - TRUE WHEN NUMBER LIES BETWEEN TWO PARAMETRES

    I'm trying to create an "IF" formula that will trigger if a number lies between two parametres. Eg. TRUE if 25 lies between 20 & 30. Any idea?
    Last edited by Danto; 01-25-2009 at 09:31 PM.

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689
    Welcome to the forum, Danto.

    In order to avoid having to answer the same questions every day, we require that posters compose thread titles that make the forum usefully searchable. Your title doesn't advance that goal.

    Please take a few minutes to read the Forum Rules about thread titles, and then edit yours to make it descriptive of your problem.
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    01-25-2009
    Location
    Brisbane
    MS-Off Ver
    Excel 2007
    Posts
    5
    Is this ok?

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689
    Much better, thanks.

    =if(and(a1>=25, a1<=30), trueResult, falseResult)

    trueResult and falseResult can be any valid expression.

    If you only want a true/false result,

    =and(a1>=25, a1<=30)
    Last edited by shg; 01-25-2009 at 09:39 PM.

  5. #5
    Registered User
    Join Date
    01-25-2009
    Location
    Brisbane
    MS-Off Ver
    Excel 2007
    Posts
    5
    Great! Thanks very much!

  6. #6
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689
    You’re welcome. Would you please mark the thread as Solved?

    Click the Edit button on your first post in the thread

    Click Go Advanced, select [SOLVED] from the Prefix dropdown, then click Save Changes

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1