+ Reply to Thread
Results 1 to 3 of 3

Delete y-values based on x-values

  1. #1
    Registered User
    Join Date
    02-15-2017
    Location
    Sweden
    MS-Off Ver
    Office 365
    Posts
    2

    Delete y-values based on x-values

    Hi there!

    In one of my school projects i am performing a series of measurements which adds up to about 20 000 datapoints.
    Instead of going through 20000 datapoints manually there should be a way to automate the things i want to do.

    Some of the datapoints are really bad and should be removed, these values are pure abnormalities and should not be taken into consideration. I want to delete decimal values smaller than a certain integer if they are within a specified x-range.

    Forum post.PNG

    For example: Delete all y values less or equal to 21 in the x region -> 42781,4 < x < 42781,45

    Hope someone knows of a way to do this!

    Best Regards Jonathan


    The assignment is not to build a function in excel that does what i'm asking for. The assignment is the measurement it self so by helping me with this you would not help me to cheat.

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

    Re: Delete y-values based on x-values

    My first thought on something like that is to use the built in filter utilities.
    the simpler to use autofilter http://www.wikihow.com/Use-AutoFilter-in-MS-Excel
    the more complex but more powerful advanced filter: http://www.contextures.com/xladvfilter01.html
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  3. #3
    Registered User
    Join Date
    02-15-2017
    Location
    Sweden
    MS-Off Ver
    Office 365
    Posts
    2

    Re: Delete y-values based on x-values

    Thanks for your reply the advanced filter seems to have done the trick!

    Much appreciated!

    /Jonathan

+ 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. Delete rows on based values in Excel
    By notbanme in forum Excel General
    Replies: 4
    Last Post: 09-26-2016, 05:01 PM
  2. [SOLVED] VBA code to look up a list of values based on entered values and return all values.
    By dnwadams in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-30-2015, 10:14 PM
  3. Using VBA to delete values based on a condition
    By KatjaL in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-14-2015, 09:50 AM
  4. [SOLVED] Help with macro to delete rows based on values
    By jimstrongy in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 04-26-2012, 08:49 AM
  5. Delete rows based on Column B Values
    By vijanand1279 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-20-2011, 01:49 PM
  6. Delete Row based on entered values
    By arsenal123gunners in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-27-2010, 04:50 PM
  7. Delete rows based on values from worksheet
    By dc6463 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-29-2008, 10:16 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