Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
jat jat is offline
external usenet poster
 
Posts: 33
Default index, match in array setup question

good day,

i am working on trying to do an index/match within an array. the formula i
have is:

=INDEX(Sheet1!C:C,MATCH(1,(Sheet1!A:A=A5)*(Sheet1! B:B=Sheet2!B5),0)) with
the { } around the formula.

the problem that i want to over come is as follows:
on the worksheet that i enter the formula, column A (cell A5 in the formula
above) can have an item or critera that is anywhere from 1 to 13 characters
long. On sheet 1, where i will be pulling the data from, it sources from
Column A (A:A) but the report will only show the first 10 characters (from 1
up to 10, if longer than 10, the last three characters are dropped).

The second column can be an exact match but this column can have duplicates.
how can the formula be adjusted so that it matches the up to the first ten
characters in column A, and an exact match in Column B?

anything to get me going in the right direction would help.

thank you,

jat

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 834
Default index, match in array setup question

I hope you have Excel 2007

=INDEX(Sheet1!C:C,MATCH(1,(Sheet1!A:A=MID(A5,1,MAX (10,A5))*(Sheet1!B:B=Sheet2!B5),0))

--

HTH

Bob

"jat" wrote in message
...
good day,

i am working on trying to do an index/match within an array. the formula
i
have is:

=INDEX(Sheet1!C:C,MATCH(1,(Sheet1!A:A=A5)*(Sheet1! B:B=Sheet2!B5),0)) with
the { } around the formula.

the problem that i want to over come is as follows:
on the worksheet that i enter the formula, column A (cell A5 in the
formula
above) can have an item or critera that is anywhere from 1 to 13
characters
long. On sheet 1, where i will be pulling the data from, it sources from
Column A (A:A) but the report will only show the first 10 characters (from
1
up to 10, if longer than 10, the last three characters are dropped).

The second column can be an exact match but this column can have
duplicates.
how can the formula be adjusted so that it matches the up to the first ten
characters in column A, and an exact match in Column B?

anything to get me going in the right direction would help.

thank you,

jat



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
Using INDEX and MATCH in an Array Wox Excel Discussion (Misc queries) 7 November 11th 09 09:08 PM
Array formula with index + match Sena Excel Worksheet Functions 5 April 1st 07 06:06 AM
Help with an Index Match Array petes_girl via OfficeKB.com Excel Worksheet Functions 3 January 31st 07 09:44 PM
index match array function-returning only first match, need last. Julie Olsen Excel Worksheet Functions 3 December 29th 06 12:50 AM
Array index, match problem RAP Excel Worksheet Functions 27 August 21st 05 07:19 PM


All times are GMT +1. The time now is 07:29 AM.

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

About Us

"It's about Microsoft Excel"