thomassharp
Board Regular
- Joined
- Dec 10, 2014
- Messages
- 84
Hi,I am trying to use IF formula to show whether a row of cells matches:
[TABLE="width: 320"]
<colgroup><col width="64" span="5" style="width:48pt"> </colgroup><tbody>[TR]
[TD="width: 64"]Dog[/TD]
[TD="width: 64"]Dog[/TD]
[TD="width: 64"]Dog[/TD]
[TD="width: 64"]Fish[/TD]
[TD="width: 64"]Near Match[/TD]
[/TR]
[TR]
[TD]Dog[/TD]
[TD]Dog[/TD]
[TD]Fish[/TD]
[TD]Fish[/TD]
[TD]Partial Match[/TD]
[/TR]
[TR]
[TD]Cat[/TD]
[TD]Pig[/TD]
[TD]Fish[/TD]
[TD]Dog[/TD]
[TD]No Match[/TD]
[/TR]
[TR]
[TD]Pig[/TD]
[TD]Pig[/TD]
[TD]Pig[/TD]
[TD]Pig[/TD]
[TD]Full Match[/TD]
[/TR]
</tbody>[/TABLE]
I have tried =IF(A2=B2,"Partial Match","No Match")IF(AND(A2=B2,A2=C2),"Near Match","No Match"))
But obviously this doesn't work.
Very interested in the logic of the syntax needed here...
Thanks!
[TABLE="width: 320"]
<colgroup><col width="64" span="5" style="width:48pt"> </colgroup><tbody>[TR]
[TD="width: 64"]Dog[/TD]
[TD="width: 64"]Dog[/TD]
[TD="width: 64"]Dog[/TD]
[TD="width: 64"]Fish[/TD]
[TD="width: 64"]Near Match[/TD]
[/TR]
[TR]
[TD]Dog[/TD]
[TD]Dog[/TD]
[TD]Fish[/TD]
[TD]Fish[/TD]
[TD]Partial Match[/TD]
[/TR]
[TR]
[TD]Cat[/TD]
[TD]Pig[/TD]
[TD]Fish[/TD]
[TD]Dog[/TD]
[TD]No Match[/TD]
[/TR]
[TR]
[TD]Pig[/TD]
[TD]Pig[/TD]
[TD]Pig[/TD]
[TD]Pig[/TD]
[TD]Full Match[/TD]
[/TR]
</tbody>[/TABLE]
I have tried =IF(A2=B2,"Partial Match","No Match")IF(AND(A2=B2,A2=C2),"Near Match","No Match"))
But obviously this doesn't work.
Very interested in the logic of the syntax needed here...
Thanks!