+ Reply to Thread
Results 1 to 11 of 11

extracting a data set between 2 values

  1. #1
    Registered User
    Join Date
    10-17-2019
    Location
    mumbai
    MS-Off Ver
    2007
    Posts
    7

    extracting a data set between 2 values

    I get a group of numbers every day which i sort in a column in descending order. i have another 3 cells where i get 3 values which are linked from another cell which change every day.

    i want to extract numbers in the sorted list from value 1 to value 2 and paste it in one column and extract another list from value 2 to value 3 and post it in another column.

  2. #2
    Forum Expert PaulM100's Avatar
    Join Date
    10-09-2017
    Location
    UK
    MS-Off Ver
    Office 365
    Posts
    2,108

    Re: extracting a data set between 2 values

    Without too many details, I can assume that is something like this: https://www.get-digital-help.com/ext...this-and-that/
    Click the * to say thanks.

  3. #3
    Registered User
    Join Date
    10-17-2019
    Location
    mumbai
    MS-Off Ver
    2007
    Posts
    7

    Re: extracting a data set between 2 values

    yes it is exactly like this, this is what i wanted. now i know how to do it. but i dont think i have the skill set to actually achieve it. thanks anyway.

  4. #4
    Registered User
    Join Date
    10-17-2019
    Location
    mumbai
    MS-Off Ver
    2007
    Posts
    7

    Re: extracting a data set between 2 values

    I would like to let you know that i have achieved my desired result. thank you so much for your help. saw the youtube video and the job is done now.


    i needed to sort the K column between upper circuit to close and close to lower circuit.

    Capture.JPG

  5. #5
    Registered User
    Join Date
    10-17-2019
    Location
    mumbai
    MS-Off Ver
    2007
    Posts
    7

    Re: extracting a data set between 2 values

    new problem now, is there anyway i can get all the num! error cells to automatically read zero as an output if there is no value attached to it.

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,750

    Re: extracting a data set between 2 values

    Try wrapping the formula in an IFERROR trap:

    =IFERROR(yourformula,0)

    This may not work if you are still using Excel 2007.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  7. #7
    Registered User
    Join Date
    10-17-2019
    Location
    mumbai
    MS-Off Ver
    2007
    Posts
    7

    Re: extracting a data set between 2 values

    Used the equal to cell reference and iferror function.

  8. #8
    Registered User
    Join Date
    10-17-2019
    Location
    mumbai
    MS-Off Ver
    2007
    Posts
    7

    Re: extracting a data set between 2 values

    using 2007, my formula was an array formula =SMALL(IF(($D$14<$K$1:$K$27)*($D$15>=$K$1:$K$27),MATCH(ROW($K$1:$K$27),ROW($K$1:$K$27)),""),ROWS($A$1:A1))

    where can i insert the iferror in this?

  9. #9
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,750

    Re: extracting a data set between 2 values

    =iferror(small(if(($d$14<$k$1:$k$27)*($d$15>=$k$1:$k$27),match(row($k$1:$k$27),row($k$1:$k$27)),""),0)

  10. #10
    Registered User
    Join Date
    10-17-2019
    Location
    mumbai
    MS-Off Ver
    2007
    Posts
    7

    Re: extracting a data set between 2 values

    thank you so much, its done now

    Attachment 645927

  11. #11
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,750

    Re: extracting a data set between 2 values

    No worries.

+ 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. Extracting the data range between two values
    By MMriuSS in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-01-2019, 02:53 AM
  2. [SOLVED] Extracting Data Based on Values, using <= or >=
    By Raabi in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 12-03-2014, 04:18 AM
  3. [SOLVED] Extracting data to new worksheet based on two values
    By scokaw in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-14-2014, 02:41 PM
  4. [SOLVED] extracting threhold values from a data set
    By willevans in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-28-2013, 08:49 PM
  5. Replies: 0
    Last Post: 06-13-2012, 02:36 PM
  6. [SOLVED] Need Help Extracting Data From 2 Worksheets with Corresponding Values
    By stingbaby01 in forum Excel General
    Replies: 4
    Last Post: 05-19-2012, 09:05 PM
  7. Replies: 2
    Last Post: 10-19-2010, 01:59 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