+ Reply to Thread
Results 1 to 7 of 7

Replace a whole column?

  1. #1
    Registered User
    Join Date
    01-30-2009
    Location
    Seattle, Wa
    MS-Off Ver
    Excel 2003
    Posts
    5

    Replace a whole column?

    I have a sorted list of data in column B, I have assigned a code to each individual data in column A. Then I have the list of data unsorted in column D. Is it possible, through pivot tables or something, to replace the unsorted data in column D with the codes assigned in A? All at once? Currently I am using the Replace function, and I can only do it one at a time. I have 550 different codes. It will take forever.....
    Last edited by VBA Noob; 01-30-2009 at 06:23 PM.

  2. #2
    Registered User
    Join Date
    01-16-2009
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2007
    Posts
    16

    Re: Replace a whole column?

    You will probably need to use a vlookup function. If you could post the spreadsheet we can take a look at it for you.
    Craig Holmes
    Microsoft Office Specialist Master Instructor
    Excel Training Courses Sydney | Microsoft Office Excel VBA Courses

  3. #3
    Registered User
    Join Date
    01-30-2009
    Location
    Seattle, Wa
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: Replace a whole column?

    How do I attach to this forum?

  4. #4
    Registered User
    Join Date
    01-16-2009
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2007
    Posts
    16

    Re: Replace a whole column?

    1. Click post reply
    2. Click Go Advanced
    3. Click Manage Attachments (scroll down)

  5. #5
    Registered User
    Join Date
    01-30-2009
    Location
    Seattle, Wa
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: Replace a whole column?

    Here it is. Deatails are in the spreadsheet.
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    01-16-2009
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2007
    Posts
    16

    Re: Replace a whole column?

    I had to swap columns A and B. Once that is done, you can use a vlookup to get the desired result (see attached)
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    01-30-2009
    Location
    Seattle, Wa
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: Replace a whole column?

    Great. thats awesome. Now how do i take those results and paste them to my report. When i try to paste the results, it takes the whole equation and doesnt work in the new spreadsheet.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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