+ Reply to Thread
Results 1 to 3 of 3

Iferror vlookup if error vlookup if x=Y,

  1. #1
    Registered User
    Join Date
    08-13-2013
    Location
    My House, AL.
    MS-Off Ver
    Excel 2010
    Posts
    39

    Iferror vlookup if error vlookup if x=Y,

    =IFERROR(IFERROR(VLOOKUP('SSI Data Dump'!I2,Assumptions!$B$2:$D$39,3,false),IF(I2="EPR",VLOOKUP('SSI Data Dump'!C3,EPARS!$AI:$AL,4,false)),IF(A2="PHYS","Molly Rodenbeck",IF(L2="Yes","Sarena Pitts","Molly Rodenbeck"),"Molly Rodenbeck")


    What's wrong with this formula?

  2. #2
    Forum Expert
    Join Date
    11-28-2012
    Location
    Guatemala
    MS-Off Ver
    Excel 2010
    Posts
    2,394

    Re: Iferror vlookup if error vlookup if x=Y,

    try this

    =IFERROR(isERROR(VLOOKUP('SSI Data Dump'!I2,Assumptions!$B$2:$D$39,3,false)),
    IF(I2="EPR",VLOOKUP('SSI Data Dump'!C3,EPARS!$AI:$AL,4,false),IF(A2="PHYS","Molly Rodenbeck", IF(L2="Yes","Sarena Pitts","Molly Rodenbeck"),"Molly Rodenbeck")

  3. #3
    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,929

    Re: Iferror vlookup if error vlookup if x=Y,

    This part...
    IF(I2="EPR",VLOOKUP('SSI Data Dump'!C3,EPARS!$AI:$AL,4,false) )
    does not have a 3rd argument...
    IF(I2="EPR", VLOOKUP('SSI Data Dump'!C3,EPARS!$AI:$AL,4,false),???? )
    The last 2 formulas seem to be just haning out there...
    IF(A2="PHYS", "Molly Rodenbeck", IF(L2="Yes", "Sarena Pitts","Molly Rodenbeck"),"Molly Rodenbeck")

    My personnel preference is to nest IFERROR's inside the formula string....
    =IFERROR(formula,IFERROR(formula,IFERROR(formula)))

    What exactly are you trying to do here anyway?
    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. [SOLVED] IFERROR w/vlookup in VBA
    By cp41 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-03-2013, 03:59 PM
  2. [SOLVED] VLOOKUP - need to do something with IFERROR in there too???
    By BHammy in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-19-2013, 07:10 PM
  3. [SOLVED] Using Iferror(vlookup..) in VBA
    By sn79 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-18-2013, 02:40 PM
  4. [SOLVED] Iferror vlookup
    By chris.slater in forum Excel General
    Replies: 2
    Last Post: 04-20-2012, 03:37 AM
  5. IFERROR With VLOOKUP
    By Badvgood in forum Excel General
    Replies: 2
    Last Post: 05-11-2011, 09:27 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