+ Reply to Thread
Results 1 to 5 of 5

Copy values across columns

  1. #1
    Registered User
    Join Date
    07-16-2013
    Location
    Eesti
    MS-Off Ver
    Excel 2010
    Posts
    3

    Question Copy values across columns

    I am having a hard time with a copying values, it is best if I make an example.
    The idea is: if A1 is "Toyota" and there is some other text also in B1, B2 and B3 then A1,A2 and A3 are "Toyota"

    Book1.xls
    Last edited by tarki; 02-18-2014 at 05:25 PM.

  2. #2
    Registered User
    Join Date
    11-26-2013
    Location
    Norway
    MS-Off Ver
    Excel 2013
    Posts
    67

    Re: Copy values across columns

    Hi

    Is a macro ok? I think this does what you want:

    Please Login or Register  to view this content.
    Copy values across columns.xls
    Best regards

    Per Erik Midtr?d

  3. #3
    Registered User
    Join Date
    07-16-2013
    Location
    Eesti
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Copy values across columns

    Hi Per Erik!

    This is almost the thing, but the thing is that the data in column A and B are different sometimes. Sometimes there is "Toyota" in B1:B3, But A1 already has a value (lets say "HONDA"), but does not have A2 nor A3 with the same value. And there always has to be the same amount of entries in column A as there are in Column B

  4. #4
    Registered User
    Join Date
    11-26-2013
    Location
    Norway
    MS-Off Ver
    Excel 2013
    Posts
    67

    Re: Copy values across columns

    But this macro would put "HONDA" in A2 and A3 if that was the case, is that not what you want it to?

  5. #5
    Registered User
    Join Date
    07-16-2013
    Location
    Eesti
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Copy values across columns

    Oh my! My stupid mistake!

    Thank you Per Erik! You saved my little brain

+ 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. copy columns values to row
    By albert28 in forum Excel General
    Replies: 1
    Last Post: 07-30-2013, 10:46 PM
  2. [SOLVED] Copy/Paste multiple columns as values based on another columns criteria
    By Dgp2012 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 07-28-2013, 06:50 AM
  3. Compare 2 columns and copy new values from the 2nd columns to a 3rd column
    By djarcadian in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-02-2013, 12:18 PM
  4. match values between 2 columns then copy
    By shahcu in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-18-2008, 12:08 AM
  5. Copy columns values into separate columns
    By Mike_can in forum Excel General
    Replies: 7
    Last Post: 05-26-2006, 07:35 PM

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