+ Reply to Thread
Results 1 to 4 of 4

IF between 4 numbers (2 ranges)

  1. #1
    Forum Contributor
    Join Date
    01-26-2018
    Location
    London, England
    MS-Off Ver
    365
    Posts
    311

    IF between 4 numbers (2 ranges)

    Hi everyone,

    I'm sure there's a very simple solution here, so don't laugh

    I just wondered why this formula isn't working (Column O), & how I'd be able to calc it properly

    d_TWqVwnSMuBDiTofNURbQ.png

    Basically,

    true -> if the number (C3) falls between 2.36 - 2.76 or 2.9 - 3.0

    Should be dead simple!

    Thanks

    Mdn
    Attached Files Attached Files

  2. #2
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.83 (24031120))
    Posts
    8,732

    Re: IF between 4 numbers (2 ranges)

    true -> if the number (C3) falls between 2.36 - 2.76 or 2.9 - 3.0
    =IF ( OR ( AND ( C3 > = 2.36 , C3 < = 2.76 ) , AND ( C3 > = 2.9 , C3 < = 3 )) , 1, "" )

    =IFERROR(IF(OR(AND(C3>2.36,C3<2.76),AND(C3>2.9,C3<3)),1,""),"")

    will there be an error in C3 ?
    Attached Files Attached Files
    Last edited by etaf; 02-20-2019 at 07:49 PM.
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  3. #3
    Forum Contributor
    Join Date
    01-26-2018
    Location
    London, England
    MS-Off Ver
    365
    Posts
    311

    Re: IF between 4 numbers (2 ranges)

    That's bril Etaf, many thanks!

  4. #4
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.83 (24031120))
    Posts
    8,732

    Re: IF between 4 numbers (2 ranges)

    you are welcome

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] How to use ranges of numbers for assigning specified values
    By kian82 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 04-25-2017, 03:28 AM
  2. Replies: 4
    Last Post: 05-08-2014, 09:43 PM
  3. IF THEN statement comparing Ranges of Numbers
    By Jupasto in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-31-2012, 12:07 PM
  4. Ranges from list of numbers
    By Chrisrokc in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 08-03-2011, 11:20 AM
  5. Function for ranges of numbers
    By MikeR32 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-23-2009, 09:47 AM
  6. Using Nested IF's in ranges of numbers
    By ExcelGuy1 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-07-2006, 08:04 PM
  7. Listing Numbers within Ranges
    By shternm in forum Excel General
    Replies: 0
    Last Post: 02-22-2005, 02:20 PM

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