Solved

Vlookup for IP

Posted on 2016-10-07
3
73 Views
Last Modified: 2016-10-11
I seem to have VLOOKUP on IP.  It looks up a total wrong IP. I can not figure out why.  I have sheet1 that have the I.P. address in column B that I try to lookup. In sheet2, it has list of IP that I try to lookup and put result of the VLOOKUP into column A of sheet1.  But as you can see the result is not quite right.
Can anyone help?  I attached  the file.
testVLookup.xlsx
0
Comment
Question by:tommym121
3 Comments
 
LVL 11

Accepted Solution

by:
Missus Miss_Sellaneus earned 250 total points
ID: 41834284
Add ", FALSE" at the end of your VLOOKUP like this:

=IFERROR(VLOOKUP($B2,Sheet2!$A$1:$A$161, 1,FALSE),"")
0
 
LVL 14

Assisted Solution

by:Zack Barresse
Zack Barresse earned 250 total points
ID: 41835081
Yeah, you're doing an approximate match. Make it an exact match, like Missus Miss_Sellaneus says, and it will be just fine. Here is a good resource:

https://exceljet.net/excel-functions/excel-vlookup-function

Regards,
Zack Barresse
0
 

Author Closing Comment

by:tommym121
ID: 41838425
Thanks,
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Microsoft Office Picture Manager was included in Office 2003, 2007, and 2010, but not in Office 2013. Users had hopes that it would be in Office 2016/Office 365, but it is not. Fortunately, the same zero-cost technique that works to install it with …
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
The viewer will learn how to  create a slide that will launch other presentations in Microsoft PowerPoint. In the finished slide, each item launches a new PowerPoint presentation and when each is finished it automatically comes back to this slide: …
Learn how to make your own table of contents in Microsoft Word using paragraph styles and the automatic table of contents tool. We'll be using the paragraph styles in Word’s Home toolbar to help you create a table of contents. Type out your initial …

939 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

4 Experts available now in Live!

Get 1:1 Help Now