Solved

Vlookup for IP

Posted on 2016-10-07
3
129 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

No matter the version of Windows you are using, you may have some problems with Windows Search running too slow or possibly not running at all. Before jumping into how you can solve this issue, just know there are many other viable alternative deskt…
This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
Learn how to create and modify your own paragraph styles in Microsoft Word. This can be helpful when wanting to make consistently referenced styles throughout a document or template.
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.

828 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