aamirsq Member Mar 13, 2013 #1 This formula suppose to return any value from C8:C567 based on matching value A2. 'INDEX(dps!$C$8:$C$567,MATCH(A2,$AHR$8:$BBS$567,0)) but match here return #NA. Why ? btw column C has alphabets, #s & empty cells
This formula suppose to return any value from C8:C567 based on matching value A2. 'INDEX(dps!$C$8:$C$567,MATCH(A2,$AHR$8:$BBS$567,0)) but match here return #NA. Why ? btw column C has alphabets, #s & empty cells
Hui Excel Ninja Staff member Mar 13, 2013 #2 Aamirsq The #N/A error means there is no match in the Match() function Are you sure there is a match ? Sometimes values in either A2 or $AHR$8:$BBS$567 could have leading or trailing spaces which causes the values to not match Can you check that? If these don't help can you post a sample file? Refer: http://chandoo.org/forums/topic/posting-a-sample-workbook
Aamirsq The #N/A error means there is no match in the Match() function Are you sure there is a match ? Sometimes values in either A2 or $AHR$8:$BBS$567 could have leading or trailing spaces which causes the values to not match Can you check that? If these don't help can you post a sample file? Refer: http://chandoo.org/forums/topic/posting-a-sample-workbook
aamirsq Member Mar 13, 2013 #3 both $AHR$8:$BBS$567 & $C$8:$C$567 has empty cells. I am pretty sure that A2 will match as if i just random search any cell using excel search it matches.
both $AHR$8:$BBS$567 & $C$8:$C$567 has empty cells. I am pretty sure that A2 will match as if i just random search any cell using excel search it matches.
Debraj Excel Ninja Mar 13, 2013 #4 Hi Aamir, Code: MATCH(A2,$AHR$8:$BBS$567,0) You are searching A2 in AHR Column.. not in AHR to BBS Column.. Match only search in single Dimentional Array.. You need to go for some trick to do the same.. Match + Hlookup will work.. and many other way.. Requesting to upload sample file. Regards, Deb
Hi Aamir, Code: MATCH(A2,$AHR$8:$BBS$567,0) You are searching A2 in AHR Column.. not in AHR to BBS Column.. Match only search in single Dimentional Array.. You need to go for some trick to do the same.. Match + Hlookup will work.. and many other way.. Requesting to upload sample file. Regards, Deb
N nazmul_muneer Member Mar 13, 2013 #5 Dear Amir, Debraj Roy has provided the correct solution. Try the formula INDEX(dps!$C$8:$C$567,MATCH(A2,$AHR$8:$AHR$567,0)) Regards, Muneer
Dear Amir, Debraj Roy has provided the correct solution. Try the formula INDEX(dps!$C$8:$C$567,MATCH(A2,$AHR$8:$AHR$567,0)) Regards, Muneer
aamirsq Member Mar 13, 2013 #6 i hope this will work ... https://docs.google.com/file/d/0B5X-W23JaELNdm13RS1MU1FOcFE/edit?usp=sharing btw all above your solutions results #N/A
i hope this will work ... https://docs.google.com/file/d/0B5X-W23JaELNdm13RS1MU1FOcFE/edit?usp=sharing btw all above your solutions results #N/A
Hui Excel Ninja Staff member Mar 13, 2013 #7 In Sheet4! C2 The formula: =INDEX(dps!$C$8:$C$567,MATCH(A2,dps!$AHR$8:$AHR$567,0)) works fine Copy it down Then goto C236 Most of the values aren't present in AHR8:567
In Sheet4! C2 The formula: =INDEX(dps!$C$8:$C$567,MATCH(A2,dps!$AHR$8:$AHR$567,0)) works fine Copy it down Then goto C236 Most of the values aren't present in AHR8:567
aamirsq Member Mar 13, 2013 #8 '=IFERROR(INDEX(dps!$C$8:$C$567,MATCH(A2,dps!$AHR$8:$AHR$567,0)),"") i thought it was working but it is only partially working, WHY ?
'=IFERROR(INDEX(dps!$C$8:$C$567,MATCH(A2,dps!$AHR$8:$AHR$567,0)),"") i thought it was working but it is only partially working, WHY ?
Hui Excel Ninja Staff member Mar 13, 2013 #9 Did you notice that the Match range is on sheet dps! Where your original post missed that important point
Did you notice that the Match range is on sheet dps! Where your original post missed that important point
sgmpatnaik Active Member Mar 13, 2013 #11 @aamirsq Hi Try This =IFERROR(INDEX(dps!$C$8:$C$567,MATCH(A2,dps!$AHR$8:$AHR$567,0)),"") its working Thanks SP
@aamirsq Hi Try This =IFERROR(INDEX(dps!$C$8:$C$567,MATCH(A2,dps!$AHR$8:$AHR$567,0)),"") its working Thanks SP
aamirsq Member Mar 13, 2013 #12 If formula was working then C2 A A A . . . . as these are all falling at location A. & C39 = B so on..
If formula was working then C2 A A A . . . . as these are all falling at location A. & C39 = B so on..
Debraj Excel Ninja Mar 13, 2013 #13 Hi Aamir, In C2 Write Formula as: Code: =INDEX(dps!$C$8:$C$567,MATCH(A2,INDEX(dps!$C$8:$BBS$567,,MATCH(B2,dps!$C$6:$CJX$6,0)),0)) Hope its working as per your requirement.. https://dl.dropbox.com/u/78831150/Excel/index-match-formula-error%28aamirsq%29.xlsx Regards, Deb EDIT: CSE not required..
Hi Aamir, In C2 Write Formula as: Code: =INDEX(dps!$C$8:$C$567,MATCH(A2,INDEX(dps!$C$8:$BBS$567,,MATCH(B2,dps!$C$6:$CJX$6,0)),0)) Hope its working as per your requirement.. https://dl.dropbox.com/u/78831150/Excel/index-match-formula-error%28aamirsq%29.xlsx Regards, Deb EDIT: CSE not required..
aamirsq Member Mar 16, 2013 #14 Thank you but i did not get this point INDEX(dps!$C$8:$BBS$567,,MATCH(B2,dps!$C$6:$CJX$6,0) ?? btw i was i trying my luck with double index, above is new for me !!
Thank you but i did not get this point INDEX(dps!$C$8:$BBS$567,,MATCH(B2,dps!$C$6:$CJX$6,0) ?? btw i was i trying my luck with double index, above is new for me !!
Debraj Excel Ninja Mar 16, 2013 #15 Hi Aamir, Is the provided solution working!!! BTW.. Just yesterday OSCAR write a good post only for INDEX.. check the link.. you will never confused for any Index function.. http://www.get-digital-help.com/2013/03/15/index-function-explained/ Regards, Deb
Hi Aamir, Is the provided solution working!!! BTW.. Just yesterday OSCAR write a good post only for INDEX.. check the link.. you will never confused for any Index function.. http://www.get-digital-help.com/2013/03/15/index-function-explained/ Regards, Deb