Match/Countif/Lookup Not Identifying Matching Text

DavidGM

New Member
Joined
Jan 19, 2018
Messages
12
Hi,

I'm trying to do a systematic literature review, and reviewing article titles from several different databases. Therefore I'm trying to find a formula that identifies if there is a matching title, from a column of titles extracted from one database, to a column of titles extracted from another; to save me reviewing the same article multiple times.

I've tried a Countifs, Match, or VLOOKUP and it's not matching all titles, even when visually they are the same and I've removed all punctuation. Remove duplicates removes some, but not all. I can't see from any online searches where it's going wrong, hoping yourselves can help please!

I've posted an example below and highlighted a case that matches but I've not been able to match via a formula or through remove duplicates. Both columns are formatted as general.

Coping^J Suicide^J Adolescent.xlsx
ABC
1Database 1 TitlesMatch?Database 2 Titles
2daily patterns in nonsuicidal self injury and coping among recently hospitalized youth at risk for suicideTRUEhow to cope with perfectionism? perfectionism as a risk factor for suicidality and the role of cognitive coping in adolescents
3mental health problems and needs among transitional age youth in indonesiaFALSEdaily patterns in nonsuicidal self injury and coping among recently hospitalized youth at risk for suicide
4influence of coping strategies on the efficacy of yam youth aware of mental health a universal school based suicide preventive programFALSEcause of caregiver death and surviving caregiver coping style predict thwarted belongingness in bereaved youth
5coping social support and suicide attempts among homeless adolescentsFALSEcoping with suicidal urges among youth seen in a psychiatric emergency department
6the relationship between religious orientation coping strategies and suicidal behaviourFALSEhow school counselors cope with student suicide a qualitative study
7perceptions of lgbq+ youth and experts of suicide prevention video messages targeting lgbq+ youth qualitative studyFALSEfacteurs de protection reliés au risque suicidaire chez des adolescents comparaison de jeunes du milieu scolaire et de jeunes en centres jeunesse
8it's not okay for you to call me that how sexual and gender minority youth cope with bullying victimizationFALSEcoping social support and suicide attempts among homeless adolescents
9cause of caregiver death and surviving caregiver coping style predict thwarted belongingness in bereaved youthTRUErunning to stand still trauma symptoms coping strategies and substance use behaviors in unaccompanied migrant youth
10how do adolescents with adjustment disorder cope with stressful situations? relationship with suicidal riskFALSEan examination of help seeking attitudes and behaviors among asian american youth on multiple school campuses
11a pilot evaluation of culture camps to increase alaska native youth wellnessFALSEimpulsivity kills some who did not plan to die by suicide evidence from chinese rural youths
12is religiosity related to suicidal ideation among tunisian muslim youth after the january 14th revolution?FALSEin plain sight the public secrets of teenage cutting
13why alternative teenagers self harm exploring the link between non suicidal self injury attempted suicide and adolescent identityFALSEestilos de afrontamiento como predicadores del riesgo suicida en estudiantes adolescentes
14coping with suicidal urges among youth seen in a psychiatric emergency departmentTRUEteenagers' attitudes about coping strategies and help seeking behavior for suicidality
15african american adolescent suicidal ideation and behavior the role of racism and preventionFALSEstrategies employed by sexual minority adolescents to cope with minority stress
16teenagers' attitudes about coping strategies and help seeking behavior for suicidalityTRUEchildhood sexual abuse and current suicidal ideation among adolescents problem focused and emotion focused coping skills
17risk and protective factors for suicide among guyanese youth youth and stakeholder perspectivesFALSEdysregulation catastrophic reactions and the anxiety disorders
18cohort profile the youth and mental health study yamhs a longitudinal study of the period from adolescence to adulthoodFALSEbullying victimization bullying witnessing bullying perpetration and suicide risk among adolescents a serial mediation analysis
19exploring presentation differences in multi cultural youth seeking assistance for mental health problemsFALSEnon suicidal self injury among male adjudicated adolescents psychosocial concerns coping responses diagnoses and functions
20how many times did i not want to live a life because of him the complex connections between child sexual abuse disclosure and self injurious thoughts and behaviorsFALSEassociations between depression anxiety stress hopelessness subjective well being coping styles and suicide in chinese university students
Sheet7
Cell Formulas
RangeFormula
B2:B20B2=ISNUMBER(MATCH(A2,C:C,0))
 
Depends on what characters are there.
You can try
Excel Formula:
=substitute(A2,char(160),"")
 
Upvote 0

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
Ah! I'm pretty sure Fluff has found it!
The most common issue when copy&pasting from a website is non-breaking spaces, Hex A0. You can search for those by using Ctrl-F and in the "Find what?" holding down the Alt key and tapping 0160 on your numeric keypad. You can then do a Replace All with nulls.

You could do a SEARCH for those characters by filling a column with =IFERROR(SEARCH(CHAR(160),D2),"") to get null or the character position if it exists.
 
Upvote 0
This is really interesting and frustrating! Thanks guys! I've been using Excel for years now and never encountered hidden characters.

So, if I try Fluff's formula, it doesn't appear to rectify it, until I change it to substitute in a space (below) - as Toadstool's formula identified character position 34 which was a space, which the change in Fluff's formula then replaced.

Applying this across the two database results however, it only adds 3 more matches (including the erroneous B5 which I had highlighted). But I'm worried as to whether there's more ones that aren't matching that should be, as 3 across as 1000 sounds like few, considering how many were in the 20 I copied to here.

Is there any likelihood of there being different types of hidden characters? Or any suggestions as to any other things to do, or should I just assume there was only 3 incorrectly not matching until I discover otherwise? I tried the ctrl-f approach and it didn't appear to do anything.

Excel Formula:
=substitute(A2,char(160)," ")
 
Upvote 0
What version of Excel are you using?

I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)

Also do you have any strings that are longer than the ones you have posted?
 
Upvote 0
Ah, apologies, I usually lurk so hadn't updated my details.

I believe my Excel version is 365 (64bit, version 2105), and Len suggests the longest string is 235 characters.
 
Upvote 0
Ok, try
Excel Formula:
=ISNUMBER(XMATCH(A2,C:C,0))
you might possibly get a few more that match.
 
Upvote 0
Ah, got the same number of matches as with your previous formula, so hopefully it's okay then!

I guess I'll give it a go and come running back if I come across more errors with the matching!
 
Upvote 0

Forum statistics

Threads
1,224,518
Messages
6,179,254
Members
452,900
Latest member
LisaGo

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top