+ Reply to Thread
Results 1 to 2 of 2

Moving Data in Cells

  1. #1
    Registered User
    Join Date
    10-24-2013
    Location
    Donisthorpe
    MS-Off Ver
    Excel 2007
    Posts
    1

    Moving Data in Cells

    Hope this is the right place to ask this. I have used excel for years but never in any depth.

    I work on excel spreadsheets which have peoples names and addresses that has to be in a certain format in order to export it into a database. For example column A is Mr, B is First Name, C is Surname, D is date of birth, E is house name or number, F is Street Name, G is Town, H is County and I is Postcode.

    The problem is clients send these spreadsheets in often with the data in the wrong columns or the whole address in one column and we have to spend a great deal of time copying the data into the right columns. We had a 700 people one the other day that took one person a whole day to re do.

    Is there a quicker way to sort this out rather than just cut and paste into the right columns?

    Thanks for any help :-)

  2. #2
    Forum Contributor
    Join Date
    09-30-2013
    Location
    Toronto, ON
    MS-Off Ver
    Excel 2007
    Posts
    229

    Re: Moving Data in Cells

    If they are in the wrong order, but in separate columns you can have a generic VBA macro in which you specify the columns sequence that they should be put into.
    The attached sheet has a sample. You can have the columns in any order on Sheet1 and the macro will put them into the order specified in Sheet1 Row1 into Sheet2.
    ReorderCols.xlsm

    If the data is combined in a cell, it can be parsed out, but it takes custom code each time since you don't know the order, or how the data will be separated.

  3. #3
    Registered User
    Join Date
    10-24-2013
    Location
    Donisthorpe
    MS-Off Ver
    Excel 2007
    Posts
    1

    Re: Moving Data in Cells

    Thank you I've had a look at your info, very helpful

+ 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. Moving cells when entering new data
    By alazare in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 06-01-2013, 12:45 AM
  2. Moving cells when entering new data
    By alazare in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-31-2013, 12:29 AM
  3. moving data into multiple cells
    By spektrina in forum Excel General
    Replies: 1
    Last Post: 10-24-2006, 03:16 PM
  4. Replies: 2
    Last Post: 06-27-2006, 09:20 PM
  5. Moving rows of data from one worksheet to another depending on a cells data.
    By Ranny30 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-15-2005, 11:18 AM

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