PC Review


Reply
Thread Tools Rate Thread

Converting file to specified format

 
 
Chris
Guest
Posts: n/a
 
      16th Jun 2008
Is there a simple method of converting a file received in one format into
another on a regular basis (ie every month)?

For example:

File 1 has data in columns A to G:
Emp ID
Employee
birth_date
Account #
Total
Vol
Total

I need to convert this into file 2 with columns A to F where the "Employee"
column in file 1 needs to be split into SURNAME and FIRST NAME and appear in
the following format:

MEMBER ID
SURNAME
FIRST NAME
TOTAL
VOL
D.O.B

Any ideas greatly appreciated.

 
Reply With Quote
 
 
 
 
Pete_UK
Guest
Posts: n/a
 
      16th Jun 2008
Set up a "Master" file which has two sheets. Sheet1 is where you will
copy your monthly data into, so you can set this up with headings only
in columns A to G. In Sheet2 you will have the headings in A1:F1 and
in row 2 you can have formulae to get the data from Sheet1 in the
format you require. You can use LEFT, MID and RIGHT functions to
extract surname and first name (depending on how these are laid out in
your first file) and simple linking formulae for the other columns.
These formulae can be copied down for as many rows as you think you
will need (or just have them in row 2 and copy down as required each
month when you copy the data into Sheet1).

So, the operation would be to open the Master file, open the newly-
received file, copy data into Sheet1 of the Master file, copy formulae
down rows of Sheet2 (if not already in place), fix the values in
Sheet2, delete Sheet1, use File | Save As to save the file with a
different name (the Master file does not get changed, so can be used
for the following month).

Of course, all of this could be automated with a simple recorded
macro.

Hope this helps.

Pete

On Jun 16, 7:44*am, Chris <Ch...@discussions.microsoft.com> wrote:
> Is there a simple method of converting a file received in one format into
> another on a regular basis (ie every month)?
>
> For example:
>
> File 1 has data in columns A to G:
> Emp ID *
> Employee * * * *
> birth_date * * *
> Account # * * *
> Total
> Vol
> Total
>
> I need to convert this into file 2 with columns A to F where the "Employee"
> column in file 1 needs to be split into SURNAME and FIRST NAME and appear in
> the following format:
>
> MEMBER ID * * *
> SURNAME
> FIRST NAME * * *
> TOTAL
> VOL * *
> D.O.B
>
> Any ideas greatly appreciated.


 
Reply With Quote
 
Chris
Guest
Posts: n/a
 
      17th Jun 2008
Thanks Pete - very helpful...now done thanks to your help.

"Chris" wrote:

> Is there a simple method of converting a file received in one format into
> another on a regular basis (ie every month)?
>
> For example:
>
> File 1 has data in columns A to G:
> Emp ID
> Employee
> birth_date
> Account #
> Total
> Vol
> Total
>
> I need to convert this into file 2 with columns A to F where the "Employee"
> column in file 1 needs to be split into SURNAME and FIRST NAME and appear in
> the following format:
>
> MEMBER ID
> SURNAME
> FIRST NAME
> TOTAL
> VOL
> D.O.B
>
> Any ideas greatly appreciated.
>

 
Reply With Quote
 
Pete_UK
Guest
Posts: n/a
 
      17th Jun 2008
You're welcome, Chris - thanks for feeding back.

Pete

On Jun 17, 12:26*am, Chris <Ch...@discussions.microsoft.com> wrote:
> Thanks Pete - very helpful...now done thanks to your help.
>

 
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
Converting .docx file to .doc format Prosanta Microsoft Word Document Management 0 5th Nov 2008 12:34 PM
Converting Text File to Date Format Steve Hartman via AccessMonster.com Microsoft Access Queries 5 22nd Apr 2005 02:39 AM
Re: Converting AVI file to DVD format? Chris Lanier Windows XP Video 0 1st Oct 2003 12:22 AM
Converting Excel file to CSV Format Anne Microsoft Excel Misc 2 30th Sep 2003 01:04 PM
converting to excel from a .123 file format edmund Microsoft Excel Misc 1 23rd Jul 2003 02:29 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:47 AM.