+ Reply to Thread
Results 1 to 3 of 3

adding vlookup values from 2 table arrays

Hybrid View

  1. #1
    Registered User
    Join Date
    06-22-2015
    Location
    Columbus, OH, USA
    MS-Off Ver
    2013
    Posts
    1

    adding vlookup values from 2 table arrays

    I am struggling with trying to add together two vlookup formulas from two different table arrays. I have searched the web but not really finding my resolution.

    I have attached a file I am working with. I have highlight the two table arrays on the CheckInfo worksheet. The yellow highlighted array is called TaxInfo. The green is MiscDeducts. I need to lookup the value in column 7 in the TaxInfo table and add it to the value in column 2 in the MiscDeducts table. This needs to be store in cell W77 on the Payroll Form worksheet.

    My two vlookup formulas are: if($j57="",0,vlookup($j57,TaxInfo,7,False))
    if($j57="",0,vlookup($j57,MiscDeducts,2,False))

    Note: this is stored in W77 on the Payroll Form worksheet so J57 refers to the Employee Name. Also, this is sample data and I didn't clear the #REF! errors, but they don't factor into this question.

    Thanks in advance for the help
    Attached Files Attached Files

  2. #2
    Forum Expert ConneXionLost's Avatar
    Join Date
    03-11-2009
    Location
    Victoria, Canada
    MS-Off Ver
    2010
    Posts
    2,952

    Re: adding vlookup values from 2 table arrays

    I can't seem to open your sample file, but how about this:

    if($j57="",0,vlookup($j57,TaxInfo,7,False)+vlookup($j57,MiscDeducts,2,False))
    Cheers,
    Would you like to say thanks? Please click the: " Add Reputation" button, on the grey bar below the post.

  3. #3
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 365 version 2501
    Posts
    18,955

    Re: adding vlookup values from 2 table arrays

    I was able to open the sample file and @ConneXionLost's formula seems to work fine.

+ 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] Vlookup Over 2 Table Arrays?
    By nesbensen in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 02-04-2015, 03:33 PM
  2. Multiple values with Vlookup (arrays)
    By sayan316 in forum Excel General
    Replies: 3
    Last Post: 07-04-2011, 11:27 AM
  3. Using vlookup for two table arrays
    By harvindersingh1 in forum Excel General
    Replies: 3
    Last Post: 04-21-2007, 06:43 AM
  4. [SOLVED] Arrays - declaration, adding values to arrays and calculation
    By Maxi in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-17-2006, 11:15 AM
  5. Adding Column arrays with Max Values
    By Gordie4 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 03-03-2005, 07:09 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