please help with excell formula

capitano10

New Member
Joined
May 22, 2019
Messages
20
I would need to have the formula to reflect the below match in colums C

Thanks

IDNameMatch
88100jamesTRUE
88100jamesTRUE
88100MickFALSE
89100JohnTRUE
89100JohnTRUE
89100KenFALSE

<colgroup><col width="70" span="3" style="width:53pt"> </colgroup><tbody>
</tbody>
 

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
Welcome to the Board!

Place this formula in C2 and copy down for all rows:
Code:
=COUNTIFS(A:A,A2,B:B,B2)>1
 
Upvote 0
I tried Joe's formula it work for me.

Did you copy and paste the formula?

Is
ID colA
Name column B
Match column C
 
Upvote 0
many thanks for the reply. however it seems to give me false instead of true e viceversa
That usually means that your formula does not align with your ranges.
Note that my formula, as written, only works if the two columns are A and B, and you are placing the formula in row 2.
If any of these conditions are different, the initial formula will need to be altered.
If you are not sure how to do that, please let us know the conditions.
 
Upvote 0
Thanks. i copied and paste in a new sheet and it worked. Howere when i have a single entry like the below for erick i receive a false but it should be true in this case

IDNameMatch
88100jamesTRUE
88100jamesTRUE
88100MickFALSE
89100JohnTRUE
89100JohnTRUE
89100KenFALSE
89102ErickFALSE

<colgroup><col width="70" span="3" style="width:53pt"> </colgroup><tbody>
</tbody>
 
Upvote 0
Howere when i have a single entry like the below for erick i receive a false but it should be true in this case
I think you need to clarify your desired logic.
Based on your original example, it looked like you wanted to return TRUE when the ID/Name combination appeared more than one time.
If that is not what you are after, you will need to explain exactly what qualifies a "match" and what doesn't.
 
Upvote 0
sorry yes let me explain further

In the column A i have the ids and in the colums B the names. The ids remain the same for the same name and change if the name is different. it may happen that one id has a name and in that case i would have to receive a true answer

Thanks again guys
 
Upvote 0
OK, that is very different than what I thought you were trying to do.
Enter this in C2 and copy down for all rows.
Code:
=OR(A2<>A1,AND(A2=A1,B2=B1))
Assuming that your data is sorted by columns A and B, it should work.
 
Upvote 0
thank you very much joe4

I still have an issue as i now receive 2 values as false with the same id



ID
Debtor NameMatch
RF02903778000000090220759jackFALSE
RF02903778000000090220759erickFALSE
RF03903778000000090223069JohnFALSE
RF03903778000000090223069MarkFALSE
RF03903778000000090223069johnFALSE
RF03903778000000090223069MArkFALSE

<colgroup><col><col><col></colgroup><tbody>
</tbody>
 
Upvote 0

Forum statistics

Threads
1,214,646
Messages
6,120,718
Members
448,986
Latest member
andreguerra

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