+ Reply to Thread
Results 1 to 2 of 2

copy vlookup based on helper values

  1. #1
    Forum Contributor
    Join Date
    08-14-2013
    Location
    LA Baby!!
    MS-Off Ver
    Excel 2007
    Posts
    1,598

    copy vlookup based on helper values

    Hello. I've created vlookup formulas that add lookup values. For example, =IFERROR(VLOOKUP(F5,'[Monthly Employee Status Report 7-1-14 (2).xlsx]1.1.13'!$A$2:$D$94,4),0)+IFERROR(VLOOKUP(G5,'[Monthly Employee Status Report 7-1-14 (2).xlsx]1.1.13'!$A$2:$D$94,4),0)

    I have helper rows in about 1000 rows down columns. Instead of having to manually copy the correct vlookup formula can I have a macro assign the correct formula based on the number of helper columns with text. For example, the cell that I use the formula above in has two columns to the left with helper lookup columns. Other rows have three, four, five, etc and the vlookup that I created has five plus signs. Make sense?

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: copy vlookup based on helper values

    I have a feeling this will be easier to answer if you upload a small (clean) sample workbook (not a pic) of what you are working with, and what your expected outcome would look like.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ 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. Change reference based on month helper cell.
    By ammartino44 in forum Excel General
    Replies: 5
    Last Post: 03-23-2015, 12:36 AM
  2. [SOLVED] Calculating values for the given year without using the helper cells.
    By thilag in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-18-2014, 05:11 AM
  3. Transpose based on helper column VBA
    By carlosriver24 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-27-2013, 03:12 AM
  4. [SOLVED] Pasting values AND formatting using a helper sub.
    By kotonikak in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-11-2012, 02:20 PM
  5. Replies: 9
    Last Post: 02-26-2012, 05:51 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