+ Reply to Thread
Results 1 to 7 of 7

Gathering data which are in between two points

  1. #1
    Registered User
    Join Date
    06-24-2022
    Location
    Munich, Germany
    MS-Off Ver
    Windows 365
    Posts
    16

    Gathering data which are in between two points

    Hi all,

    I would like to filter all the data which lie between some start and end points in a extra column. I already have the start and end points which are gathered in an extra column but I also need all the data in between.

    Maybe it is possible to already use the functions which lie behind the gathering process for the start end end point.

    Usually the List is longer, thats why I don't do it manually.


    Thanks!!!
    Attached Files Attached Files

  2. #2
    Forum Expert dosydos's Avatar
    Join Date
    12-09-2015
    Location
    Massachusetts
    MS-Off Ver
    365(PC) V:2308
    Posts
    1,472

    Re: Gathering data which are in between two points

    For your example where start is 3 and end is 29 use tis filter function:

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    <----- If you are happy with your solution please click on the "* Add Reputation" as a way to say thank you.

  3. #3
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Gathering data which are in between two points

    It's not clear what you want your result to look like. You have two different sets of start/end points (K16, M16) and (K17, M17).

    Do you want to filter the existing data (A:G) in place or create new lists of that data? If new lists, where do you want them?
    Jeff
    | | |·| |·| |·| |·| | |:| | |·| |·|
    Read the rules
    Use code tags to [code]enclose your code![/code]

  4. #4
    Registered User
    Join Date
    06-24-2022
    Location
    Munich, Germany
    MS-Off Ver
    Windows 365
    Posts
    16

    Re: Gathering data which are in between two points

    basically I have a list with a lot of start and end points. Those data (including the data of the start and end) I would all like
    stand under another. If they stand in a seperate column just next to the existing list that would be nice, but if it is easier to just filter
    them thats also alright.

    The data which lie between the end and the start point I would like to eliminate.

  5. #5
    Registered User
    Join Date
    06-24-2022
    Location
    Munich, Germany
    MS-Off Ver
    Windows 365
    Posts
    16

    Re: Gathering data which are in between two points

    Unfortunately it tells me there is a problem in the function...

    Thanks anyways so far

  6. #6
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Gathering data which are in between two points

    dosydos's function works perfectly for me--for one start/end pair. You need one formula for each pair of start/end, which is why I asked what result you want. See attached.

    What error are you getting? Your profile says you are using Windows 365, and you must use Excel 365 or 2021 for the FILTER function to work.
    Attached Files Attached Files

  7. #7
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,825

    Re: Gathering data which are in between two points

    Assuming this is one step along the to integrating each peak as we talked about in an earlier thread, I don't know if I would worry about filtering/extracting the data for each peak. I would tend to process in place. Something like:

    1) First, get the step start and step end columns to combine into a single column where each "x" marks start or end of peak. Rather than re-write the formulas in column E and F, I inserted a new column G, and just placed a simple =E11&F11 into the new G11 and copied down.
    2) With "x" to mark start and end of peak in the same column, the formula in column H (that was in G before I inserted the column there), can be adapted to refer to the new column G. Now, column H will contain integers counting up each time it encounters an "x" in the new column G, which means "peaks" are marked by odd numbers and "not peaks" are marked by even numbers in column H.
    3) Still assuming that this is working towards integrating each peak, I could then add a column (or more, depending on exactly how you want to calculate areas) that calculates the area of each slice/segment of the peak.
    4) Then, when I want to final integrated area of each peak, my summary table can be a SUMIFS() function (or pivot table) that sums the area column for each odd number in column H. =SUMIFS(I:I,H:H,1) for the first peak, for example.

    I don't know if that helps, but, assuming that the end goal here is "integrating the area of each peak," it provides a way to do the integration in place without needing to extract the data for each peak into another location of the spreadsheet.
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

+ 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. Color chart data points/marker points vba error
    By nmckever in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 09-12-2014, 07:10 AM
  2. Gathering the data
    By sathishkm in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-26-2013, 06:40 PM
  3. Gathering particular data
    By kishoremcp in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-28-2012, 07:26 PM
  4. Web Data Gathering
    By Willis in forum Excel Programming / VBA / Macros
    Replies: 24
    Last Post: 11-09-2011, 01:07 PM
  5. Replies: 4
    Last Post: 05-30-2008, 10:39 AM
  6. Gathering Data
    By Spreadsheet in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 06-13-2006, 11:10 PM
  7. gathering data
    By xak_tay in forum Excel General
    Replies: 0
    Last Post: 09-30-2005, 02:05 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