+ Reply to Thread
Results 1 to 3 of 3

Vlookup

  1. #1
    Registered User
    Join Date
    12-07-2015
    Location
    Cambridge
    MS-Off Ver
    2010
    Posts
    66

    Vlookup

    I have the following VLOOKUP =VLOOKUP(C3,'Client Database'!D3:H198,5,FALSE)

    How can I change this so that if there is no information in column 5 rather than returning a "0" I would prefer it to return "N/A"

    Thanks in advance

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,446

    Re: Vlookup

    Do you mean the result is 0 or an empty cell although C3 is found in col D?

  3. #3
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Vlookup

    Try this:

    =VLOOKUP(C3,'Client Database'!D3:H198,5,FALSE)&""

    To return a blank if the cell in column H is empty.

    Having it return N/A could be a little misleading since VLOOKUP will return #N/A if C3 isn't found in column D.

    If you insist on it returning N/A, you can use this:

    =IF(VLOOKUP(C3,'Client Database'!D3:H198,5,FALSE)="","N/A",VLOOKUP(C3,'Client Database'!D3:H198,5,FALSE))

+ 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. Replies: 5
    Last Post: 12-07-2016, 09:18 AM
  2. [SOLVED] When vlookup ragnes is mutiple: How do vlookup value finding occurrence against coresspond
    By silambarasan.J in forum Excel Formulas & Functions
    Replies: 34
    Last Post: 07-07-2015, 09:32 AM
  3. Replies: 0
    Last Post: 12-26-2013, 01:12 PM
  4. Display Cell within VLookup range that excel thinks matches the VLookup Value
    By headachexcelperson in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-04-2013, 04:56 PM
  5. vlookup? match? index? MULTIPLE criteria for vlookup search problem....
    By aborg88 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 02-11-2013, 09:56 AM
  6. Replies: 5
    Last Post: 07-29-2009, 07:53 AM
  7. [SOLVED] vlookup function-Can vlookup command find the data from the 5 sheets.
    By Rishab shah in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 11:05 PM

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