+ Reply to Thread
Results 1 to 4 of 4

If N Nested formula

  1. #1
    Registered User
    Join Date
    10-11-2012
    Location
    TX
    MS-Off Ver
    Excel 2007
    Posts
    5

    If N Nested formula

    This is my current formula:
    =IFERROR(VLOOKUP($B6,Codes!$A:$K,MATCH($A$4,Codes!$A$1:$K$1,0),0),"")

    I need to add another level to it. I have added a column & if it has a N in the corresponding cell, then I need the cell where the above formula is located to pull from another column than originally planned.

    Make sense?
    INS WorksheetORIGINAL.xlsx
    Last edited by zaenibop; 10-23-2012 at 04:05 PM. Reason: Rename

  2. #2
    Forum Contributor
    Join Date
    09-13-2012
    Location
    Atlanta, USA
    MS-Off Ver
    Office 2003, 2010
    Posts
    230

    Re: If N

    Try:

    =IFERROR(IF(SomeCell = "N",VLOOKUP($B6,Codes!$A:$K,MATCH($A$4,Codes!$A$1:$K$1,0),0), ""),"")

    Though, if you could post a sample worksheet, I bet you would get more accurate help.

  3. #3
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: If N

    Yes, hard to give you a formula when we don't know where that other column is. Let's say this other column is always column 7

    It'll be something like

    =IFERROR(VLOOKUP($B6,Codes!$A:$K,IF($C6="N", 7,MATCH($A$4,Codes!$A$1:$K$1,0),0)),"")
    Make sense?
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  4. #4
    Registered User
    Join Date
    10-11-2012
    Location
    TX
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: If N

    INS WorksheetORIGINAL.xlsx

    Please let me know if this is visible.
    thanks.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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