LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default help with database

Hi,

I get a daily data file from one of our systems that gives me transaction
status by region. The rows in the file represent the regions--Northeast,
West, South, Central. The columns contain the status--entered, completed,
error, in process, etc. Each cell gives me a count of the transactions in
that status, e.g. a count of 10 for West Error.

I'd like to set up a database so that I can track changes over time by
adding a "date" column to the worksheet. What stops this from being a simple
cut & paste operation is that if there aren't any items with a given status
that day then the column is eliminated from the data file.

If I have transactions for all the status types on a given day, the columns
in the worksheet would be: Date, Region, Entered, Completed, Error, In
Process

If no items were completed that day, the columns would be: Date, Region,
Entered, Error, In Process.

To add that day's transactions to the worksheet database I have to insert
cells to create a blank column, and that gets tedious.

Can anyone suggest a more efficent way to add each day's transactions to the
worksheet? I don't know if a macro is the answer but I thought I'd start here.

Thanks in advance,

David
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Update Excel Database via Access Main Database with a script Finnbar New Users to Excel 2 November 3rd 08 07:24 PM
HELP: VBA Code to extract data from an SQL Server database and put it into Access Database Clinton M James[_2_] Excel Programming 1 October 8th 07 12:44 AM
database query not showing foxpro database How I import data mangat New Users to Excel 1 June 24th 07 03:31 PM
Moved database, how do I change link to the database in excel Toastrack Excel Discussion (Misc queries) 0 October 20th 06 09:36 AM
Using Excel as a database and need macro or vba to take data entered on one tab and update the database by adding to the next avail row rjr Excel Programming 5 June 11th 06 09:43 PM


All times are GMT +1. The time now is 06:26 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"