PC Review


Reply
Thread Tools Rate Thread

Add data to 2007 table based on column names?

 
 
Tara H
Guest
Posts: n/a
 
      28th May 2009
I have a data table which I update periodically (a couple of times a week)
from a report. My current process is:
* Run the report
* Convert the report output to a table
* Add a calculated column
* Copy each column one at a time and paste under the corresponding column in
my data table (values only)
* Use 'table tools', 'design', 'remove duplicates' to remove duplicates
based on 2 columns.

(The data from the report only contains a subset of the fields tracked, so
using the report only as a basis is not an option)

This works fine but is pretty tedious and I want to automate it. I could
use end(xlDown) to find the last row, add 1 and store that number, then copy
and paste my data based on that row number, but it seems kind of clunky. I'd
like to find a more elegant solution that could be adapted for various
situations such as importing another data table with the identical format but
different data, or if my source report changes (as it does occasionally).

It seems like there should be some sort of option to do a basic version of
this built in, but I haven't been able to find any such thing. I would be
very grateful if someone could point me in the right direction here.

Thanks,
Tara
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Update same table based on column data musa.biralo Microsoft Access Getting Started 2 15th Mar 2009 09:45 PM
What is data field name for column names in a table? Parrot Microsoft Dot NET Framework 0 8th Mar 2009 04:18 AM
Pivot Table Data Column Sort Excel 2007 unclemuffin Microsoft Excel Misc 1 31st Oct 2008 12:58 PM
summing values in a data table based on criteria in another column =?Utf-8?B?RGF2ZSBG?= Microsoft Excel Worksheet Functions 7 26th Aug 2006 04:36 PM
Determine table names and column names in Access database Brian O'Haire Microsoft C# .NET 2 7th Dec 2003 01:28 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:42 PM.