Forum Discussion
Looking for Help to indentify duplicates which respect to conditions
- Mar 31, 2022
surya300810 Perhaps Power Query can do what you need. See attached file. Note that I changed some of the data as I believe it didn't coincide with the description/explanation in one of the screenshots you uploaded. I marked the changes yellow in the Input list.
I'm trying to understand what you want to do. Does the attached file show your intended result?
For example in the post there is the input
| Name | Set Type | Version |
| 95591 | Type 1 | - |
with the intended output:
| Name | Set Type | Version | |||
| 95591 | Type 1 | - | Type 1 |
However there isn't a duplicate for Name 95591 and Version - in the data.
- surya300810Mar 30, 2022Copper ContributorCan you share the code for the Above attached PDF - Which will Solve half of my problem.
- OliverScheurichMar 30, 2022Gold Contributor
The data in the pdf. file was entered manually. Unfortunately i can't help you with what you actually want to do. I can't suggest a solution to select the duplicate names of the highest version with a formula or VBA.
EDIT: You can click the button in cell H2 in the attached file to start the macro. This is the only solution i can offer. The result is what i entered manually in the pdf. file.
- SSURYA300Mar 30, 2022Copper Contributor
Actually , I need to eliminate the duplicates for the all the lower revision for the set types
if there is no duplicate entry then we need to keep it and if we have different versions for different set types even for the same number then also we need to show it in the out put
Ideal Output