Excel -- Index Match array giving incorrect result

Posted on 2015-01-22
Last Modified: 2015-02-24

I have a formula that is intended to retrieve a list of IP addresses from a sheet named ip. The ip sheet stores the ip addresses in the second column (B). Whenever I enter the name of the server into A2 on the lookup sheet it gives me the IP address that falls one cell below the intended result.


Open in new window

If you have any questions let me know.

Question by:neptuneit
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 26

Expert Comment

ID: 40564414
Diffcult to say, without seeing the worksheet.

but in the meanwhile, can you try

LVL 33

Expert Comment

by:Rob Henson
ID: 40564537
I believe you need to adjust all of the ranges referred to from the ip sheet to starting at the same row, ie ip!$A$2, you have some starting at ip!$A$1.

I don't think the finishing rows being different is an issue in this case but worth changing those to the same as well.

Rob H
LVL 33

Expert Comment

by:Rob Henson
ID: 40564549
As an aside, you can probably shrink the formula using IFERROR(..) rather than IF(ISERROR(..)).



In your case, (I have adjusted for all same ranges as mentioned above, but check the brackets!!):


Rob H
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!


Author Comment

ID: 40564590
ip!$A$1 is the header, is it still required?

Author Comment

ID: 40564620
Also Rob, changing the $A$2 to $A$1 generates an empty result
LVL 33

Expert Comment

by:Rob Henson
ID: 40564641
I was suggesting the other way, make all ranges start at A2.
LVL 50

Accepted Solution

barry houdini earned 500 total points
ID: 40564778

You can't have ROWS in that part, Rob

Try this version, assuming you enter the formula in D2 and copy down


confirmed with CTRL+SHIFT+ENTER

regards, barry
LVL 47

Expert Comment

by:Martin Liss
ID: 40628866
I've requested that this question be deleted for the following reason:

Not enough information to confirm an answer.

Featured Post

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

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

Workbook link problems after copying tabs to a new workbook? David Miller (dlmille) Intro Have you either copied sheets to a new workbook, and after having saved and opened that workbook, you find that there are links back to the original sou…
You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.

734 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