ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Lotus @xindex equivelant in Excel (https://www.excelbanter.com/excel-worksheet-functions/9910-lotus-%40xindex-equivelant-excel.html)

Monty1952

Lotus @xindex equivelant in Excel
 
Does anyone know what the equivelant is of the Lotus @xindex function? Its
the function that in effect allows you to do a vertical and horizontal lookup
of a table and give you the value of that intersection.

Thanks in advance

tjtjjtjt

Excel has a function called INDEX that does this. It can be combined with
MATCH to use the Row and Column Heading to search for items in the table.
For example, see:
http://www.contextures.com/xlFunctions03.html

tj

"Monty1952" wrote:

Does anyone know what the equivelant is of the Lotus @xindex function? Its
the function that in effect allows you to do a vertical and horizontal lookup
of a table and give you the value of that intersection.

Thanks in advance


Tim C

If you are just supplying row and column numbers (rather than matching to
row and column headings) use OFFSET:

=OFFSET(A1,RowNumber,ColumnNumber)

Note that RowNumber and ColumnNumber will be the number of spaces the target
cell is offset from the reference cell.

In other words,

@XINDEX(B2:B10,2,3)

would be translated as

OFFSET(B2,1,2)

or

OFFSET(A1,2,3)

Tim C

"Monty1952" wrote in message
...
Does anyone know what the equivelant is of the Lotus @xindex function? Its
the function that in effect allows you to do a vertical and horizontal
lookup
of a table and give you the value of that intersection.

Thanks in advance




Andy

This file might be a help:
http://www.bygsoftware.com/examples/.../xindexvba.zip
It's in the "Excel for Lotus 123 Users" section on page:
http://www.bygsoftware.com/examples/examples.htm

In Excel there is no direct equivalent for Lotus 123's XINDEX function. This
workbook shows two Excel formula constructions that achieve the same result.

The first example uses two additional inputs. It uses the Excel functions:
INDEX and MATCH The second example uses the same inputs as the Lotus XINDEX
function. It uses the Excel functions: INDEX, MATCH and OFFSET.

There are also two additional pieces of VBA showing how to use this in code
and capture an error condition.

The code is open and commented.

There is also an alternative construction using SUMPRODUCT at:
http://www.bygsoftware.com/Excel/fun...sumproduct.htm

Andy

"Monty1952" wrote in message
...
Does anyone know what the equivelant is of the Lotus @xindex function? Its
the function that in effect allows you to do a vertical and horizontal
lookup
of a table and give you the value of that intersection.

Thanks in advance





All times are GMT +1. The time now is 11:53 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com