Laurence D
New Member
- Joined
- Sep 14, 2016
- Messages
- 31
Hi all,
I just want to perform a quick quality check on some of my data and I am after a bit of help to make the proper formula as I keep getting too fewer arguments with my formula.
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD="align: center"][/TD]
[TD="align: center"]A[/TD]
[TD="align: center"]B[/TD]
[TD="align: center"]C[/TD]
[/TR]
[TR]
[TD="align: center"]1[/TD]
[TD="align: center"]Food Code[/TD]
[TD="align: center"]Food[/TD]
[TD="align: center"]Matches?[/TD]
[/TR]
[TR]
[TD="align: center"]2[/TD]
[TD="align: center"]MARTOA[/TD]
[TD="align: center"]Marmite[/TD]
[TD="align: center"]Yes[/TD]
[/TR]
[TR]
[TD="align: center"]3[/TD]
[TD="align: center"]JAMTOA[/TD]
[TD="align: center"]Jam[/TD]
[TD="align: center"]Yes[/TD]
[/TR]
[TR]
[TD="align: center"]4[/TD]
[TD="align: center"]HONTOA[/TD]
[TD="align: center"]Marmite[/TD]
[TD="align: center"]No[/TD]
[/TR]
[TR]
[TD="align: center"]5[/TD]
[TD="align: center"]CORMIL[/TD]
[TD="align: center"]Cornflakes[/TD]
[TD="align: center"]Yes[/TD]
[/TR]
</tbody>[/TABLE]
What I am after is an if formula that will search for the first three letters (to the left) of text in column A1 and see if matches with the first three letters (to the left) of text in column B1. Then if the columns matches to spit out in column C1 a "Yes" or if it does not match then "No".
Thanks,
Laurence
I just want to perform a quick quality check on some of my data and I am after a bit of help to make the proper formula as I keep getting too fewer arguments with my formula.
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD="align: center"][/TD]
[TD="align: center"]A[/TD]
[TD="align: center"]B[/TD]
[TD="align: center"]C[/TD]
[/TR]
[TR]
[TD="align: center"]1[/TD]
[TD="align: center"]Food Code[/TD]
[TD="align: center"]Food[/TD]
[TD="align: center"]Matches?[/TD]
[/TR]
[TR]
[TD="align: center"]2[/TD]
[TD="align: center"]MARTOA[/TD]
[TD="align: center"]Marmite[/TD]
[TD="align: center"]Yes[/TD]
[/TR]
[TR]
[TD="align: center"]3[/TD]
[TD="align: center"]JAMTOA[/TD]
[TD="align: center"]Jam[/TD]
[TD="align: center"]Yes[/TD]
[/TR]
[TR]
[TD="align: center"]4[/TD]
[TD="align: center"]HONTOA[/TD]
[TD="align: center"]Marmite[/TD]
[TD="align: center"]No[/TD]
[/TR]
[TR]
[TD="align: center"]5[/TD]
[TD="align: center"]CORMIL[/TD]
[TD="align: center"]Cornflakes[/TD]
[TD="align: center"]Yes[/TD]
[/TR]
</tbody>[/TABLE]
What I am after is an if formula that will search for the first three letters (to the left) of text in column A1 and see if matches with the first three letters (to the left) of text in column B1. Then if the columns matches to spit out in column C1 a "Yes" or if it does not match then "No".
Thanks,
Laurence