Get rid of the 0 in a Vlookup

PvtSmity

New Member
Joined
Jul 26, 2016
Messages
13
Hi All,
I hope that you can help. I have 4 tabs on this sheet. 1st tab is my shipping info that I drop into the sheet and 3 of them have info I need to reference from. The problem is I keep getting 0 on half my look ups. So I tried to use =IFNA(IF(VLOOKUP(A2,'Redding '!A:P,16,FALSE)=0,"",VLOOKUP(A2,'Redding '!A:P,16,FALSE)),"") Which need deed did work but how do I combine the other 2 tabs to find all the info I need. So I tried this way

=IFNA(IF(MATCH(A2,'Redding '!A:A,0),VLOOKUP(A2,'Redding '!A:R,15,FALSE),IF(MATCH(A2,'Mound City-Tecate'!A:A,0),VLOOKUP(A2,'Mound City-Tecate'!A:Q,15,FALSE),IF(MATCH(A2,'Tecate-Sewing'!A:A,0),VLOOKUP(A2,'Tecate-Sewing'!A:Q,15,FALSE),""))),"")

But then I'm getting those darn 0's again.
 

Some videos you may like

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.

DanteAmor

Well-known Member
Joined
Dec 3, 2018
Messages
12,208
Office Version
2007
Platform
Windows
Try this

=IFERROR(VLOOKUP(A2,Redding!A:O,15,0),IFERROR(VLOOKUP(A2,'Mound City-Tecate'!A:O,15,0),IFERROR(VLOOKUP(A2,'Tecate-Sewing'!A:O,15,0),"Does not exist")))
 

DanteAmor

Well-known Member
Joined
Dec 3, 2018
Messages
12,208
Office Version
2007
Platform
Windows
I'm glad to help you. Thanks for the feedback.
 

Watch MrExcel Video

Forum statistics

Threads
1,102,695
Messages
5,488,328
Members
407,634
Latest member
ps01

This Week's Hot Topics

  • Timer in VBA - Stop, Start, Pause and Reset
    [CODE=vba][/CODE] Option Explicit Dim CmdStop As Boolean Dim Paused As Boolean Dim Start Dim TimerValue As Date Dim pausedTime As Date Sub...
  • how to updates multiple rows in muliselect listbox
    Hello everyone. I need help with below code. code is only chaning 1st row in mulitiselect list box. i know issue with code...
  • Delete Row from Table
    I am trying to delete a row from a table using VBA using a named range to find what I need to delete. My Range is finding the right cell. In the...
  • Assigning to a variable
    I have a for each block where I want to assign the value in column 5 of the found row to the variable Serv. [CODE=vba] For Each ws In...
  • Way to verify information
    Hi All, I don't know what to call this formula, and therefore can't search. I have a spreadsheet with information I want to reference...
  • Active Cell Address – Inactive Sheet
    How to use VBA to get the cell address of the active cell in an inactive worksheet and then place that cell address in a location on the current...
Top