The number of urban
123 TKO
456 LAS
123 LAS
123 LAS
789 MAC
456 LAS
WWE 123
456 LAS
789 MAC
Assuming that when A column number repeat, if B bar code is not the only city, will all related in column C mark yes, as follows:
The number of urban
123 TKO yes
456 LAS
123 LAS yes
123 LAS yes
789 MAC
456 LAS
123 WWE yes
456 LAS
789 MAC
CodePudding user response:
Directly using the formulas:In C1 cell input the following formula:
=the IF (COUNTIF ($A $1: $A $10, A1) & gt; 1, "yes", "")
And then directly down
CodePudding user response:
Start recording macros in Excel 2003, manual, complete the required function end record macros, press Alt + F11 key, check just record macro corresponding VBA code,CodePudding user response:
How do you do on the ground floor, I adopted the approach of you, it is concluded that the result is such, what reason be excuse me?123 TKO yes
456 LAS yes
123 LAS yes
123 LAS yes
789 MAC yes
456 LAS yes
WWE 123
456 LAS yes
789 MAC yes
CodePudding user response: