+ Reply to Thread
Results 1 to 2 of 2

VBA macro to add header text, insert & copy-down formula, move column

  1. #1
    Registered User
    Join Date
    03-25-2014
    Location
    Dallas, Texas
    MS-Off Ver
    Excel 2011, Excel 2010
    Posts
    18

    VBA macro to add header text, insert & copy-down formula, move column

    Here is a simple one, but has me stuck.

    Task: make a new header for 2 columns, add some VLOOKUP formulas and paste the columns as values in the same sheet.


    Insert new header in J1 - "Alias"
    Insert formula in J2 & copy down "=IFERROR(VLOOKUP(H2,'[Common Team Names.xls]Clean List'!$A:$C,3,0), "No Alias")"
    Copy Column J, Paste as Values in Column J

    Insert new header in K1 - "Workflow Team"
    Insert formula in k2 & copy down "=IFERROR(VLOOKUP(H2,'[Common Team Names.xls]Clean List'!$A:$C,2,0), "No Team")"
    Copy Column K, Paste as Values in Column H


    thanks
    Last edited by shootstill; 04-23-2014 at 03:46 PM.

  2. #2
    Administrator arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,147

    Re: VBA macro to add header text, insert & copy-down formula, move column

    Is this solved?

    If you solve a problem yourself before anyone else has responded, please take a moment to describe your solution, chances are some other member will benefit.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

+ 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. [SOLVED] Formula to find header and insert in new column
    By dbracken1 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 12-03-2012, 03:50 AM
  2. Macro to insert formula and copy down column
    By robertguy in forum Excel General
    Replies: 4
    Last Post: 03-01-2012, 12:03 PM
  3. macro-auto copy and insert a header based on the contents of the c
    By janjan_376 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-01-2010, 06:13 PM
  4. Move Command Button above header text (of a column)
    By MrHockey in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-26-2009, 08:48 PM
  5. [SOLVED] Need Simple Copy and Insert Row, Move Down Macro
    By spenglef@satx.rr.com in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 02-24-2006, 12:25 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