#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 38
Default Xindex

When I was using Lotus 123 I used a function called Xindex that would find
the intersection in a named ranged. Is there a function in Excel that will
do the same.

Example: @xindex(range,a1,"actual sales")

Where the range was a named range and cell a1 contained the salespersons
name I entered and "actual sales" was the column heading for the sales which
was in the first fow of the named range





  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 61
Default Xindex

Hi,

One way:

=INDEX(actualsales,MATCH(A1,range,0))

where "range" and "actualsales" are the names of the ranges as you have
described in your post.

Another way:

=VLOOKUP(A1,A2:B101,2)

Here, A2:B101 is the entire range containing data, where Column A contains
names and Col B contains sales.
The above formula returns the intersection of the row containing "A1" in the
left-most column (that is Column A) and the second column (the "2" in the
formula stands for that) which is Column B.

If this helps, please give a feedback by clicking "Yes".

Regards,
B. R. Ramachandran

"denny" wrote:

When I was using Lotus 123 I used a function called Xindex that would find
the intersection in a named ranged. Is there a function in Excel that will
do the same.

Example: @xindex(range,a1,"actual sales")

Where the range was a named range and cell a1 contained the salespersons
name I entered and "actual sales" was the column heading for the sales which
was in the first fow of the named range





  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 61
Default Xindex

Hi,

I am sorry that there were a couple of typos in my formulas.

The first formula should be,

=INDEX(actualsales,MATCH(C1,range,0))

where you input a name in C1. The formula will return the actualsales value
that corresponds to the intersection the name column (where it matches with
the name you have entered in C1) and the salesvalue column.

The second formula should correspondingly read,

=VLOOKUP(C1,A2:B101,2) where A2:101 is the entire data range.

Sorry about the typos.

B. R. Ramachandran

"denny" wrote:

When I was using Lotus 123 I used a function called Xindex that would find
the intersection in a named ranged. Is there a function in Excel that will
do the same.

Example: @xindex(range,a1,"actual sales")

Where the range was a named range and cell a1 contained the salespersons
name I entered and "actual sales" was the column heading for the sales which
was in the first fow of the named range





Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Lotus function @XINDEX Monty New Users to Excel 3 February 7th 07 02:09 AM
In Excel what can I use for the XINDEX function from Lotus 123? Val from ICB Excel Worksheet Functions 2 February 23rd 05 09:10 PM
Lotus @xindex equivelant in Excel Monty1952 Excel Worksheet Functions 3 January 25th 05 11:14 PM


All times are GMT +1. The time now is 02:37 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"