• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Formula syntax Confirmation (chandoo Forums)

vijay.vizzu

Member
Dear All,


In one of the post in Chandoo's Blog. i have just watched one blog, and it has formula like =Index(return,Match(1,(1stRange=criteria1)*(2ndRange=criteria2)*(3rdRange=criteria3),0)), but when i am trying this formula i am getting N/A error. Kindly tell me is this formula is correct.


http://chandoo.org/wp/2009/08/24/excel-formulas-29-tips/
 
You need to array-enter, that is hit Ctrl-Shift-Enetre after typing in the formula, not just Enter.
 
my data table

Code:
NameDeptt	[code]RegionSales

[code]VijayCDC	[code]SJP3378

[code]KumarPE	[code]FBD3455

[code]SureshPE	[code]FBD3199

[code]Naveen
ME SJP[/code]1722

Vijay[/code]PE SJP[/code]3233

Vijay[/code]CDC SJP[/code]4531


required

Name[/code]Deptt Region[/code]Sales

Vijay[/code]CDC `SJP #N/A
 
If I enter this as an array it works.

=INDEX(D2:D10,MATCH(1,(A2:A10="Vijay")*(B2:B10="CDC")*(C2:C10="SJP"),0))


It's only the non-array version that seems to give a N/A error.
 
Dear LukeM,


In your formula = =INDEX(D2:D10,MATCH(1,(A2:A10="Vijay")*(B2:B10="CDC")*(C2:C10="SJP"),0))

you have used text values as Vijay, CDC,SJP and in my formula it is in cell reference (relative). So i think this was the problem in my case.


Thanks

Vijay
 
Back
Top