+ Reply to Thread
Results 1 to 3 of 3

sum of vlookups x2 +if result

  1. #1
    Registered User
    Join Date
    03-01-2010
    Location
    Shepherdstown, WV
    MS-Off Ver
    Excel 365
    Posts
    15

    sum of vlookups x2 +if result

    What I am basically trying to do is sum together the results from 2 vlookups and an if function.

    So the various formulas:
    =VLOOKUP(T4,statleader,7,0)
    =VLOOKUP(T4,TEML,3,FALSE) and
    =IF(AO49="T",2,IF(AO49="E",4,IF(AO49="M",6,IF(AO49="L",8,0))))

    Is there an elegant way in a single formula to sum the results of these 3 formulas?
    Thank you for taking a shot at this!
    Attached Files Attached Files
    Last edited by mistrornge; 02-24-2023 at 04:24 PM.

  2. #2
    Forum Contributor
    Join Date
    08-12-2020
    Location
    Atlanta, Georgia
    MS-Off Ver
    Office 16
    Posts
    241

    Re: sum of vlookups x2 +if result

    If you want to have a single formula, just combine them with a +.
    =VLOOKUP(T4,statleader,7,0)+VLOOKUP(T4,TEML,3,FALSE)+IF(AO49="T",2,IF(AO49="E",4,IF(AO49="M",6,IF(AO49="L",8,0))))
    As long as no section gets an error it will work. You can add iferror/0 statements to each section to fix that.

    -Squeaky.

  3. #3
    Registered User
    Join Date
    03-01-2010
    Location
    Shepherdstown, WV
    MS-Off Ver
    Excel 365
    Posts
    15

    Re: sum of vlookups x2 +if result

    I never would have thought that possible. So simple. Thank you

+ 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] Comparing Two Vlookups to Render a Result
    By Kogen in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 08-31-2018, 03:34 AM
  2. Replies: 7
    Last Post: 11-27-2015, 11:12 AM
  3. IF THEN and VLOOKUPS Together
    By degross77 in forum Excel General
    Replies: 3
    Last Post: 11-20-2014, 05:27 PM
  4. Vlookups or more.
    By Mike1987 in forum Excel General
    Replies: 4
    Last Post: 02-25-2010, 05:09 AM
  5. Vlookups
    By Lynchbro in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-11-2009, 02:45 PM
  6. Vlookups
    By BSDScotty in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-19-2009, 06:23 AM
  7. [SOLVED] VLOOKUPS
    By Brett in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-22-2006, 09:55 AM

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