Results 1 to 3 of 3

Stop Vlookup bringing back 0's or #REF! and bring back blanks instead

Threaded View

  1. #1
    Registered User
    Join Date
    07-16-2012
    Location
    Yorkshire, England
    MS-Off Ver
    2016 Professional Plus
    Posts
    35

    Stop Vlookup bringing back 0's or #REF! and bring back blanks instead

    Evening

    After a full day of trying I've got down to two different formula but i'm having a problem with each one, Option 1 brings back 0's when there is no text in the cell Vlookup is searching, whilst Option 2 solves the 0's but then brings back #REF! when D2 on the "Control Sheet" is blank.

    Just for information the Staff members name that I use in the D column (D2, D3 etc) is only added once a client is allocated, before which it is left blank

    Any ideas how to get Option 1 below to stop showing 0's or how to get Option 2 below to stop showing #REF!

    Option 1

    =IF('Control Sheet'!D2<>"",VLOOKUP(A2,INDIRECT('Control Sheet'!D2&"!$A:$K"),11,0),"")


    Options 2

    =T(VLOOKUP(A2,INDIRECT("'"&'Control Sheet'!D2&"'!A:K"),11,0))
    Last edited by Carling73; 05-30-2013 at 04:40 PM. Reason: Solved

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