+ Reply to Thread
Results 1 to 5 of 5

Trying to get a column in one table to match the contents of a column in another

  1. #1
    Registered User
    Join Date
    08-20-2016
    Location
    CT, USA
    MS-Off Ver
    2010
    Posts
    16

    Trying to get a column in one table to match the contents of a column in another

    Hi,

    I need to create graphs but my raw data is stored in a table that has so many columns it unwieldy, so I was hoping to create another table that just lists all the rows of data, but on the columns I intend to plot. Since all my raw data is based on timestamps - that column A will be the same in both tables, then I will just V-Lookup from that column.

    I also need the table to be dynamic so that as new rows are added to the raw data table, my chart table updates as well.

    Unfortunately I can't find a simple way of getting my chart table to reference the raw data since if I just do a simple = function and drag down, it will grow the table despite there being no data in the referencing cell.

    Any ideas?

    Thanks

  2. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,167

    Re: Trying to get a column in one table to match the contents of a column in another

    Hi peteypops,

    There is an Add-in from MSFT called Power Pivot that can filter you data to only show the columns you want to deal with. It is a free download for Excel 2010 and newer. It will do what you describe but will take a few hours of learning to use. It is much easier than VBA or learning long formulas!!
    https://www.microsoft.com/en-us/down...4-a1aa03c66688
    http://markvsql.com/2015/01/power-qu...umns-and-rows/
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  3. #3
    Registered User
    Join Date
    08-20-2016
    Location
    CT, USA
    MS-Off Ver
    2010
    Posts
    16

    Re: Trying to get a column in one table to match the contents of a column in another

    Thanks for the tip - unfortunately I need to hand this file off as a template so I can't rely on the user having the same plugins as me

  4. #4
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,167

    Re: Trying to get a column in one table to match the contents of a column in another

    Power Query as it was called in 2010 and 2013 is now BUILT INTO Excel 2016. If you are handing it off to someone who is using 2016 Excel, they have this already available.

    Power Query isn't a "plugin" from some outside company. It is a retrofit from Microsoft to add a new and exciting tool to older versions of Excel.

    I look at it like this:
    Excel is a spreadsheet program with rows and columns. With each new release they added more tools, formulas and methods to do work. Conditional Formatting is simply one of the many tools built into Excel. I don't think it was available in the first few versions of Excel. The Data Form tool was in the first few versions of Excel but now needs to be added to the toolbar to use. Power Query is a newer tool to perform your type of action.

    You might be able to build a VBA script to do what you want, but that is much harder to learn and build than the newer Power Query tool.

    If you supply us with a sample workbook, we can give better answers.

    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.

  5. #5
    Registered User
    Join Date
    08-20-2016
    Location
    CT, USA
    MS-Off Ver
    2010
    Posts
    16

    Re: Trying to get a column in one table to match the contents of a column in another

    Alright cool I will look into this - thanks for your help. I'm actually having better luck plucking columns out of my rawdata table so my need for a dedicated chart data table is becoming pretty redundant.

+ 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. Match cell contents with column
    By hannsg in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-09-2016, 11:23 AM
  2. Match One Column's Contents with Anothers
    By AlexNsvc in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 03-29-2016, 07:16 PM
  3. Replies: 5
    Last Post: 03-18-2015, 10:14 AM
  4. Replies: 3
    Last Post: 02-25-2015, 06:43 PM
  5. [SOLVED] Vlookup? Pivot Table? How do I match column A and B to contents in column C?
    By rushnit in forum Excel Formulas & Functions
    Replies: 17
    Last Post: 08-08-2012, 10:16 AM
  6. Replies: 2
    Last Post: 02-13-2012, 09:03 AM
  7. Need Help testing if a cells contents match that of a cell in another column
    By jmherbert in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-26-2008, 03:56 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