Results 1 to 3 of 3

Thread: Macro to copy value based on name

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Member
    Join Date
    Aug 2012
    Posts
    40
    Rep Power
    0

    Macro to copy value based on name

    I have names in Col A and values in Col D in a workbook called Vat account balances (source workbook)

    I would like a macro to copy the values in the source workbook to Col G in the destination workbook (paste special values) where the name in Col E (destination workbook) matches the name in Col A (source workbook)

    Eg if name in A3 = Br1 and the value is 600,015 (source workbook) and E320 = BR1 , then 600,015 must be paste valued special in G320

    I have also posted on Mr Excel.com


    Macro to copy data based on name in Col A

  2. #2
    Senior Member alansidman's Avatar
    Join Date
    Apr 2012
    Posts
    125
    Rep Power
    14
    Use Vlookup function in Excel. VBA solution is not necessary.

    Look at this link on Vlooup syntax MS Excel: VLOOKUP Function (WS)

  3. #3
    Member
    Join Date
    Aug 2012
    Posts
    40
    Rep Power
    0
    Hi Alan

    Thanks for the reply. The Vlookup function , which I am familiar with is fine, However, there is a formula in Col D in the source workbook. I have several sheets for each month in the destination workbook and don't want the value updated. I want it to remain constant

    Howard

Similar Threads

  1. Macro to copy data containing numeric values
    By Flupsie in forum Excel Help
    Replies: 11
    Last Post: 04-05-2014, 09:06 PM
  2. Copy paste data based on criteria
    By analyst in forum Excel Help
    Replies: 7
    Last Post: 01-13-2014, 12:46 PM
  3. Replies: 2
    Last Post: 09-18-2013, 12:30 AM
  4. Macro to copy data in specific Columns
    By Howardc in forum Excel Help
    Replies: 0
    Last Post: 04-19-2013, 10:42 AM
  5. Macro Copy Columns and Paste in rows.
    By TommyKris in forum Excel Help
    Replies: 3
    Last Post: 03-06-2013, 02:36 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •