+ Reply to Thread
Results 1 to 6 of 6

Pivot Table to condense large data set of Coordinate + Depths

  1. #1
    Registered User
    Join Date
    05-24-2017
    Location
    new york city
    MS-Off Ver
    2016
    Posts
    3

    Pivot Table to condense large data set of Coordinate + Depths

    Hello All,

    I have a list of almost 600000 data points in 5 separate csv files. This data have three columns: Latitude, Longitude, and Depth.

    For many coordinates, the depths vary slightly but have about 10-30 entries for a single coordinate pair. I wish to average the depth values of each cell that belongs to an identical coordinate pair automatically with the purpose of condensing my large dataset.

    For example, the pairs (42.507636, -74.978933) is listed in cells A10 and B10 through A20 and B20, but the depth values in cells C10 through C20 are all different. It is these C cells that I wish to average together so the set can be condensed to a single A10, B10, C10 entry.

    With about 70,000 total latitudes, longitudes, and depths, I wish to automate this process. A pivot table seems like it would help, but I have been unable to accomplish my task.

  2. #2
    Forum Expert cbatrody's Avatar
    Join Date
    04-15-2014
    Location
    Dubai
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    2,136

    Re: Pivot Table to condense large data set of Coordinate + Depths

    Hi,

    Welcome to the Forum.

    As mentioned by you, this can be accomplished with the help of a Pivot Table.

    Can you post a small portion of the data with enough examples but without any sensitive info in excel format please?


    See the following URL for help on how to upload a file.
    http://www.excelforum.com/members/da...ch-a-file.html

  3. #3
    Registered User
    Join Date
    05-24-2017
    Location
    new york city
    MS-Off Ver
    2016
    Posts
    3

    Re: Pivot Table to condense large data set of Coordinate + Depths

    I think I have attached a sample dataset, though am having some trouble with the upload tool. Hopefully it makes it out!

    This is a .csv file with about 3 unique longitudes and about 6 unique latitudes. There are 110 rows total, each with it's own value for depth.

    I wish to create a 3 column table that condenses the repeating coordinate pairs into a single unique pair entry with a value for depth that is the average of depth values from the repeating pairs.
    Attached Files Attached Files

  4. #4
    Forum Expert cbatrody's Avatar
    Join Date
    04-15-2014
    Location
    Dubai
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    2,136

    Re: Pivot Table to condense large data set of Coordinate + Depths

    Hi,

    Something like this?

    See the attached file.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    05-24-2017
    Location
    new york city
    MS-Off Ver
    2016
    Posts
    3

    Re: Pivot Table to condense large data set of Coordinate + Depths

    Yes! This looks like what I would like to do.

    Is there a way to automatically populate the "longitude" cells so each row has a entry for longitude? I will be exporting this table to ArcGIS and cells cannot be blank.

  6. #6
    Registered User
    Join Date
    05-20-2016
    Location
    Toronto, Canada
    MS-Off Ver
    365
    Posts
    24

    Re: Pivot Table to condense large data set of Coordinate + Depths

    Do you mean to repeat all label items? If so, this can be found on the Design tab, under Report Layout >>>Repeat All Item Labels

+ 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. Large amount of data & special pivot table layout
    By archer90 in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 10-08-2016, 06:14 AM
  2. Large data set, pivot table and percentages
    By bladewalker in forum Excel General
    Replies: 0
    Last Post: 02-28-2012, 03:32 AM
  3. Large Pivot Table Printing
    By pcargila in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-10-2010, 12:18 PM
  4. Sorting through large amounts of data (pivot table, sql)
    By Heim in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-20-2009, 09:25 AM
  5. Macro to create pivot table from large data file
    By johnson748r in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-27-2007, 02:36 PM
  6. [SOLVED] Pivot Table Too Large?
    By JenL in forum Excel General
    Replies: 1
    Last Post: 02-28-2006, 12:10 PM
  7. [SOLVED] large data file problems - pivot table with vba
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-28-2005, 10:05 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