ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   need to take data from one table and rearrange columns into new ta (https://www.excelbanter.com/excel-discussion-misc-queries/220487-need-take-data-one-table-rearrange-columns-into-new-ta.html)

need-some-help!

need to take data from one table and rearrange columns into new ta
 
We download a csv file from Authorize.net. The columns do not match the
format for out Mail Order Manager software. We will need to convert this
table each day. Selectively pull columns out of the first table and create a
new one with just the info we need to go into MOM in the correct columns. I
have read some things in here about macros and ivot tables and am still
confused. Any help would be great!

Thanks to whomever can help me with my dilema...Chris

Pete_UK

need to take data from one table and rearrange columns into newta
 
Set up a master file with 2 sheets - one called source and the other
destination. The data that you download every day can be copied
directly into the source sheet, so its layout mirrors the columns in
your csv file. In the destination sheet you can have simple formulae
in columns which just take the relevant data from your source file,
for example you might want column D from your source file to appear in
column A of the destination sheet, so you could have a formula like
this in A1:

=IF(source!D1="","",source!D1)

then this can be copied down. Similarly with other columns.

Use your blank master file each day, copy data from your csv file into
the source sheet, fix the values in the destination sheet, remove
unwanted rows, delete the source sheet then use Save As to save the
file with a different name (eg MOM_date.xls), so that your master file
remains unchanged.

All of this could be automated with a simple macro, but it wouldn't
take very long to do it manually each day.

Hope this helps.

Pete

On Feb 12, 2:07*am, need-some-help! <need-some-
wrote:
We download a csv file from Authorize.net. The columns do not match the
format for out Mail Order Manager software. We will need to convert this
table each day. Selectively pull columns out of the first table and create a
new one with just the info we need to go into MOM in the correct columns. I
have read some things in here about macros and ivot tables and am still
confused. Any help would be great!

Thanks to whomever can help me with my dilema...Chris




All times are GMT +1. The time now is 12:43 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com