+ Reply to Thread
Results 1 to 5 of 5

Nested Vlookups and If Statements

Hybrid View

  1. #1
    Registered User
    Join Date
    11-12-2012
    Location
    Philadelphia, PA
    MS-Off Ver
    Excel 2010
    Posts
    8

    Nested Vlookups and If Statements

    Hello,

    I am looking to write a formula that does three things:

    1. Vlookup that checks list A for an amount - returning amount if listed
    2. Vlookup that checks list B for an amount - returning amount if listed

    If my reference isn't in either list I want excel to complete an if statement to perform a calculation.

    3. If Statement to complete a cacluation


    Example attached.

    Thanks for your help
    Attached Files Attached Files

  2. #2
    Forum Expert judgeh59's Avatar
    Join Date
    02-07-2013
    Location
    Boise, Idaho
    MS-Off Ver
    Excel 2016
    Posts
    2,310

    Re: Nested Vlookups and If Statements

    give this a try....put this in Cell J3 and copy down

    =IFERROR(VLOOKUP(G3,$A$2:$B$7,2,0),IFERROR(VLOOKUP(G3,$D$2:$E$7,2,0),H3*I3))
    Ernest

    Please consider adding a * if I helped

    Nothing drives me crazy - I'm always close enough to walk....

  3. #3
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Nested Vlookups and If Statements

    Please delete this post.
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  4. #4
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Nested Vlookups and If Statements

    judgeh59's formula can also be written this way.
    Formula: copy to clipboard
    =IFERROR(IFERROR(VLOOKUP(G3,$A$3:$B$7,2,0),VLOOKUP(G3,$D$3:$E$7,2,0)),H3*I3)
    Last edited by newdoverman; 09-11-2015 at 06:02 PM.

  5. #5
    Forum Expert judgeh59's Avatar
    Join Date
    02-07-2013
    Location
    Boise, Idaho
    MS-Off Ver
    Excel 2016
    Posts
    2,310

    Re: Nested Vlookups and If Statements

    glad I could help and thanks for the rep points....

+ 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. Nested If and Vlookups
    By lorber123 in forum Excel General
    Replies: 4
    Last Post: 05-18-2014, 12:48 PM
  2. [SOLVED] Nested IF statements that involve #N/A errors from vlookups
    By CorporateBatteryHen in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-02-2013, 02:03 AM
  3. Adding ISNA to long nested IF statements with vlookups
    By vgately99 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 05-07-2013, 02:59 PM
  4. Nested Vlookups?
    By tenscourts in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-19-2012, 06:03 AM
  5. Nested if statements with vlookups
    By txbullets in forum Excel General
    Replies: 4
    Last Post: 12-08-2011, 10:30 AM
  6. Nested IFs and VLOOKUPs
    By Johny1 in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 09-26-2009, 07:11 AM
  7. Nested Vlookups
    By TarekHamouda in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-12-2006, 02:45 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