Index Array Problem

JERRY89
4StarLounger
Posts: 516
Joined: 21 Feb 2016, 02:52

Index Array Problem

Post by JERRY89 »

I am using this Index formula =INDEX(Form!B:AA,MATCH(A1,Form!AA:AA,0),13), the problem is A1 is number format but the array AA:AA is not fix, sometime is Text format so is there any formula in excel that i can use to ensure my excel can capture both Number or Text format.

User avatar
HansV
Administrator
Posts: 78485
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: Index Array Problem

Post by HansV »

Perhaps

=INDEX(Form!B:AA,MATCH(""&A1,""&Form!AA:AA,0),13)
Best wishes,
Hans

JERRY89
4StarLounger
Posts: 516
Joined: 21 Feb 2016, 02:52

Re: Index Array Problem

Post by JERRY89 »

Hi Hans

Is there any typo for the formula,it didn't work.

User avatar
HansV
Administrator
Posts: 78485
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: Index Array Problem

Post by HansV »

Could you attach a sample workbook without sensitive data?
Best wishes,
Hans

User avatar
p45cal
2StarLounger
Posts: 147
Joined: 11 Jun 2012, 20:37

Re: Index Array Problem

Post by p45cal »

Perhaps try it the other way:
=INDEX(Form!B:AA,MATCH(A1,Form!AA:AA+0,0),13)

snb
4StarLounger
Posts: 575
Joined: 14 Nov 2012, 16:06

Re: Index Array Problem

Post by snb »

=INDEX(Form!M:M,MATCH(A1,Form!AA:AA,0))

JERRY89
4StarLounger
Posts: 516
Joined: 21 Feb 2016, 02:52

Re: Index Array Problem

Post by JERRY89 »

Hi Hans,
Thanks for your assistance. :cheers:

Hi p45cal/snb,

This formula =INDEX(Form!B:AA,MATCH(A1,Form!AA:AA+0,0),13) have solve my problem, thanks alot :thankyou: