+ Reply to Thread
Results 1 to 4 of 4

IF/VLOOOKUP - Multiple Tabs

  1. #1
    Registered User
    Join Date
    02-19-2007
    Posts
    43

    IF/VLOOOKUP - Multiple Tabs

    Hi - I'm using the below formula to pull in results from multiple tabs - but i need to add an "IF" Function in if the name I am searching for is not listed on any of the tabs. Any help is appreciated!

    =VLOOKUP($B138,INDIRECT("'"&INDEX({"IFP-CM";"OFP-CM";"CDS-CM";"CRT-CM";"LNG-CM";"TECH-CM";"WSC-CM"},MATCH(1,--(COUNTIF(INDIRECT("'"&{"IFP-CM";"OFP-CM";"CDS-CM";"CRT-CM";"LNG-CM";"TECH-CM";"WSC-CM"}&"'!$a2:$a200"),$B138)>0),0))&"'!a2:z200"),3,0)
    Last edited by casdaq; 02-18-2011 at 06:43 PM.

  2. #2
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: IF/VLOOOKUP - Multiple Tabs

    Probably time to add some detail to your profile since the answer will depend on what version of Excel you are using.

  3. #3
    Registered User
    Join Date
    02-19-2007
    Posts
    43

    Re: IF/VLOOOKUP - Multiple Tabs

    I'm sorry - I am using excel 2007. Please let me know if there is anything else you need to know.

  4. #4
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: IF/VLOOOKUP - Multiple Tabs

    Since you're using Excel 2007 you can use IFERROR()

    so:

    =IFERROR(your current formula here,"")

    This will make the cell appear blank when your VLOOKUP() results in an error (like #N/A)

+ 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