+ Reply to Thread
Results 1 to 4 of 4

Array formula using greater than but also less than

  1. #1
    Forum Contributor
    Join Date
    12-22-2006
    Posts
    114

    Red face Array formula using greater than but also less than

    Hi all,

    I have the following array formula that return the first 10 records (where Variables!$F$3 = 10)

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Then I want to return in another column the next 10 i.e. between Variables!$F$3 and Variables!$F$3*2

    I have tried this following formula:

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    But putting in the AND formula, the formula fails completely. I can't figure out how to return the next 10.

    Can anyone help?

    Many thanks in advance,

    Alex

  2. #2
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,077

    Re: Array formula using greater than but also less than

    Try
    =IFERROR(INDEX($G$2:$G$100,SMALL(IF(($H$2:$H$100>Variables!$F$3)*($H$2:$H$100<=(Variables!$F$3*2)),ROW($G$2:$G$100)),ROW(1:1))-1,1),"")

    Entered with CSE
    If that doesn't work, please supply a workbook

  3. #3
    Forum Contributor
    Join Date
    12-22-2006
    Posts
    114

    Re: Array formula using greater than but also less than

    OMG, you're a genius! Thank you so much!

  4. #4
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,077

    Re: Array formula using greater than but also less than

    You're welcome & thanks for the feedback

+ 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. Greater than X * Y condition in array formula, not working
    By Mister4tee4 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-29-2020, 05:08 PM
  2. [SOLVED] Array formula, greater than error
    By Median in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 01-23-2019, 09:29 AM
  3. Replies: 5
    Last Post: 04-19-2016, 04:17 PM
  4. Getting a min value greater than zero from an array
    By Excel_Questions in forum Excel General
    Replies: 7
    Last Post: 06-24-2015, 11:57 PM
  5. Replies: 3
    Last Post: 11-26-2014, 05:23 PM
  6. Returning 'greater than' from an array
    By fkalinx in forum Excel General
    Replies: 1
    Last Post: 07-03-2014, 07:09 AM
  7. [SOLVED] Array formula with greater and less than
    By coach.32 in forum Excel General
    Replies: 2
    Last Post: 06-22-2011, 05:57 AM

Tags for this Thread

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