+ Reply to Thread
Results 1 to 7 of 7

Reducing a data set for use in a plot

  1. #1
    Registered User
    Join Date
    03-12-2017
    Location
    Galway
    MS-Off Ver
    Excel 2016
    Posts
    24

    Question Reducing a data set for use in a plot

    Hi All

    I have a data set of over 4500 data points. I want to reduce this to roughly 200 points for use in a plot.
    The data is an output from a tensile tester, and I am looking to pair it and plot against a data set from a numerical simulation, which is only outputs 200 data points.

    What is the best way to do this, without losing the trend I have in my mechanical testing data set?

    Thank you all for your time

    Regards,
    Tom

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,724

    Re: Reducing a data set for use in a plot

    That is a reduction of about 20 to 1. Do you want to take every 20th cell (or 22nd if you want) and put it into another table which you can use as the source for you graph, or would that tend to hide your trends?

    Pete

  3. #3
    Registered User
    Join Date
    03-12-2017
    Location
    Galway
    MS-Off Ver
    Excel 2016
    Posts
    24

    Re: Reducing a data set for use in a plot

    Quote Originally Posted by Pete_UK View Post
    That is a reduction of about 20 to 1. Do you want to take every 20th cell (or 22nd if you want) and put it into another table which you can use as the source for you graph, or would that tend to hide your trends?

    Pete
    Pete,

    That sounds exactly like what im after! Could you suggest where I could begin with this?
    Thanks
    Tom

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,724

    Re: Reducing a data set for use in a plot

    Okay, take a look at the attached file, where I have filled sequential numbers down column A and put this formula in cell E2, which is then copied down a few rows:

    =INDEX(A:A,(ROWS($1:1)-1)*22+2)

    You can see that this produces the sequence 1, 23, 45, 67, 89 and so on, showing that it is picking up cells with a gap of 22 between them. The 2 in the formula is needed because the data starts on row 2.

    Hopefully you can adapt this to how your data is laid out.

    Hope this helps.

    Pete
    Attached Files Attached Files

  5. #5
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Reducing a data set for use in a plot

    I have a user-defined function that does this: https://en.wikipedia.org/wiki/Ramer%...cker_algorithm
    Entia non sunt multiplicanda sine necessitate

  6. #6
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Reducing a data set for use in a plot

    Example attached.
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    03-12-2017
    Location
    Galway
    MS-Off Ver
    Excel 2016
    Posts
    24

    Re: Reducing a data set for use in a plot

    Quote Originally Posted by Pete_UK View Post
    Okay, take a look at the attached file, where I have filled sequential numbers down column A and put this formula in cell E2, which is then copied down a few rows:

    =INDEX(A:A,(ROWS($1:1)-1)*22+2)

    You can see that this produces the sequence 1, 23, 45, 67, 89 and so on, showing that it is picking up cells with a gap of 22 between them. The 2 in the formula is needed because the data starts on row 2.

    Hopefully you can adapt this to how your data is laid out.

    Hope this helps.

    Pete
    Thank you Pete, this should work perfectly for my application!

    Tom

+ 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. Reducing a large Data Set
    By tbens90 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-17-2013, 12:18 AM
  2. Replies: 2
    Last Post: 07-26-2012, 09:27 AM
  3. [SOLVED] using checkboxes to plot certain data series on one plot
    By chemeng1T3 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-10-2012, 07:08 AM
  4. How can I plot multiple data set on a single contour plot
    By hafziebone in forum Excel General
    Replies: 0
    Last Post: 02-11-2012, 02:02 PM
  5. How can I plot multiple data set on a single contour plot
    By hafziebone in forum Excel General
    Replies: 0
    Last Post: 02-10-2012, 11:27 PM
  6. Reducing data into a new table
    By gohb1 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-31-2009, 02:25 AM
  7. Reducing data set, how to choose every 'n'th row
    By ge-eng in forum Excel General
    Replies: 3
    Last Post: 12-04-2006, 05:35 PM
  8. [SOLVED] Can I copy x-y scatter plot data direct from one plot to another?
    By Chris in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 06-03-2005, 09:05 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