+ Reply to Thread
Results 1 to 2 of 2

Link different csv files into a pivot table through common element

  1. #1
    Registered User
    Join Date
    04-21-2023
    Location
    Spain
    MS-Off Ver
    Office 2016
    Posts
    1

    Link different csv files into a pivot table through common element

    I have several Formula 1 csv files. One of them has a list of driver ids with their driver name, another one has a list of circuit ids with their circuit name and another one has a list of race ids with their specific races. The final one has the results of different races and can be linked to the others through the ids. I need a pivot table that has the driver names at the top, the race names to the left and has each driver's result in a specific race. How can I put the data associated with the ids as the value while still putting the names in the columns and rows? There's some other things like filtering by year and conditional formatting, but I can do those.

    The dataset is kaggle/datasets/rohanrao/formula-1-world-championship-1950-2020 (kaggle is a com domain but I removed the dot com because I can't post links) if that's helpful. I'm only using a few of the files for this.

  2. #2
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,570

    Re: Link different csv files into a pivot table through common element

    Hello Ajastaca and Welcome to Excel Forum.
    It seems to me that you could convert the csv files to .xlsx files, load them into the data model and use power pivot to produce a one to many relationship between the driver table and the race results table.
    To get more specific help please utilize the "HOW TO ATTACH YOUR SAMPLE WORKBOOK" banner at the top of the page to attach a small sample of each file (driver and race results) to your next post.
    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

+ 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. Replies: 2
    Last Post: 08-30-2018, 11:44 AM
  2. [SOLVED] Check if 2 arrays have at least one element in common
    By JOAO12 in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 08-08-2018, 03:41 AM
  3. Replies: 5
    Last Post: 03-21-2018, 04:49 PM
  4. [SOLVED] Combine 3 tables into one master with only one common element
    By 3345james in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 12-21-2015, 02:12 AM
  5. Link two excel files with common criteria
    By shreeja178 in forum Excel General
    Replies: 3
    Last Post: 07-17-2014, 09:31 AM
  6. [SOLVED] Stat table with formulas for each data element but only when the element exists in table
    By stevemills04 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-28-2013, 05:50 AM
  7. Pivot table-update the element in the array and stop other elements changing
    By zaalhy in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-20-2008, 10:42 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