Yue_Iohikazu
New Member
- Joined
- Jan 28, 2015
- Messages
- 2
Greetings.
I need your help with one match function that is failing only for some situations.
The functions is right now as following:
=INDEX(Tracker!Q4:CR4,1,(MATCH(Status!K3,Tracker!Q4:CR4,0)-1))
Its purpose is to read the a character string from "Status!K?" cells, search for that string on the "Tracker!Q?:CR?" range and return with the value from one column before, which is also a text string.
This function is working as expected except for some situations where the text in both, "Status!K" and "Tracker!Q?:CR?" contain line brakes, listings and special characters inside a single cell, this is because the text is a copy from another tool.
I believe that the reason for the function to fail on some situations is because the functions is unable to recognize some special characters, or may be the long length, which end up breaking the comparison process.
I have tried with alternatives like this:
=INDEX(Tracker!Q18:CR18,1,(MATCH(LEFT(Status!K17,20)&"*",Tracker!Q18:CR18,0)-1))
=INDEX(Tracker!Q18:CR18,1,(MATCH(LEFT(Status!K17,20)&"*"&RIGHT(Status!K17,5),Tracker!Q18:CR18,0)-1))
But results are the same, #N/A.
Can you please help?
I would really appreciate it.
Thanks in advanced and best regards.
I need your help with one match function that is failing only for some situations.
The functions is right now as following:
=INDEX(Tracker!Q4:CR4,1,(MATCH(Status!K3,Tracker!Q4:CR4,0)-1))
Its purpose is to read the a character string from "Status!K?" cells, search for that string on the "Tracker!Q?:CR?" range and return with the value from one column before, which is also a text string.
This function is working as expected except for some situations where the text in both, "Status!K" and "Tracker!Q?:CR?" contain line brakes, listings and special characters inside a single cell, this is because the text is a copy from another tool.
I believe that the reason for the function to fail on some situations is because the functions is unable to recognize some special characters, or may be the long length, which end up breaking the comparison process.
I have tried with alternatives like this:
=INDEX(Tracker!Q18:CR18,1,(MATCH(LEFT(Status!K17,20)&"*",Tracker!Q18:CR18,0)-1))
=INDEX(Tracker!Q18:CR18,1,(MATCH(LEFT(Status!K17,20)&"*"&RIGHT(Status!K17,5),Tracker!Q18:CR18,0)-1))
But results are the same, #N/A.
Can you please help?
I would really appreciate it.
Thanks in advanced and best regards.