Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

using correct formulas

Forum home » Delegate support and help forum » Microsoft Excel Training and help » Using the correct formulas

Using the correct formulas

ResolvedVersion 2003

Phoebe has attended:
Excel Advanced course

Using the correct formulas

What is the difference between using the MATCH and INDEX function?

Edited on Mon 14 Jul 2008, 10:20

RE: using the correct formulas

Hi Phoebe,

Thank you for your post and welcome to the forum;

By way of an answer I am going to include a couple of other bits and pieces, so it may be a bit long;

If you've been using Excel for a while, you have invariably found someone who talks about using INDEX() and MATCH() instead of VLOOKUP. Give me a couple of minutes and I will try to explain them in simple English.

First a 30 second review of VLOOKUP; Say you have a table of employee records. The first column is an employee number, and the remaining columns are various pieces of data about the employee. Any time you have an employee number in the worksheet, you can use VLOOKUP to return a specific datum about the employee. The syntax is VLOOKUP(value,data range,col no.,FALSE). It says to Excel, "Go to the data range. Find a row that has (value) in the first column of the data range. Return the (col no.) the value from that row.

When the key field is to the right of the data you want to retrieve, VLOOKUP will not work.

One common solution is to temporarily insert a new column A, copy the column of names to the new column A, populate with VLOOKUP, Paste Special Values, then delete the temporary column A.

This is now where your question comes into force; So, let me break it down into two pieces. First, there is the INDEX() function. This is a horribly named function. When someone says "index", it does not conjure up anything in my mind that is similar to what this function does. Index requires three arguments. =INDEX(data range, row number, column number).
In English; Excel goes to the data range and returns you the value in the intersection of the (row number) the row and the (column number) the column.
Hey, that

 

Training courses

Training information:

See also:

Welcome. Please choose your application (eg. Excel) and then post your question.

Our Microsoft Qualified trainers will then respond within 24 hours (working days).

Frequently Asked Questions
What does 'Resolved' mean?

Any suggestions, questions or comments? Please post in the Improve the forum thread.

Excel tip:

Hide data in Excel Worksheets

Let's say you have some data in cell 'C5' you would like to hide from the casual viewer.

Click cell 'C5' to select it.

Click the 'Format' menu, select 'Cells'. When the 'Format Cells' dialogue box opens, click the 'Numbers' tab (if necessary), then select 'Custom' from the 'Category' list.

Double-click the 'Type' entry box and type three semi-colons: ";;;"

Click 'OK' to close the dialogue box and accept the new formatting.

The data in cell 'C5' disappears. It's still there and will work in calculations, but it isn't visible.

If you need to check the data, just click the blank cell and the contents appear in the 'Formula bar'.

View all Excel hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.11 secs.