+ Reply to Thread
Results 1 to 3 of 3

Finding the position of the first values, to fall between a % range

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

    Finding the position of the first values, to fall between a % range

    Hi everyone,

    I'm looking to find the first time a series of values (for their given ID, A:A), fall between the % value in KS2.

    1% =1% > x > -1%
    2% = 2% > x > -2%

    An example of a solution:

    54H7Zj3VRmGQ6fmjdqlFng.png

    For the given IDs, 150 is the first time all the values fall between -1% & 1% (further correct examples (as far as I'm aware ), KS3:KS22)

    I'm just not entirely sure how to create a formula to calc those figures; the tricky bit - looking simultaneously at 4 rows

    Hope that wasn't too confusing; any questions pop em below

    ty

    Mdn
    Attached Files Attached Files
    Last edited by Median; 01-04-2019 at 10:07 PM.

  2. #2
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,213

    Re: Finding the position of the first values, to fall between a % range

    Please try at KS3 press Ctrl+Shift+Enter and copy down

    =INDEX($C$2:$KQ$2,MATCH(COUNTIF($A$3:$A$22,A3),MMULT(TRANSPOSE(--($A$3:$A$22=A3)),--(ABS($C$3:$KQ$22)<=$KS$2)),))
    Attached Files Attached Files

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

    Re: Finding the position of the first values, to fall between a % range

    Outstanding work there Bo_Ry!

+ 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. Replies: 5
    Last Post: 12-22-2018, 01:43 AM
  2. Need Macro that Highlights Values which Fall In Specific Range
    By Esuric in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-01-2014, 03:27 AM
  3. Finding the position/range of pivot tables
    By dluhut in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-14-2013, 11:46 AM
  4. Need to calculate average if values fall into EITHER range.
    By daxplicitazn in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-25-2013, 12:37 PM
  5. Replies: 1
    Last Post: 08-06-2011, 01:05 AM
  6. Count the number of values that fall with in a range
    By nynamyna in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-12-2011, 08:39 AM
  7. Replies: 7
    Last Post: 11-10-2009, 09:42 AM

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