-
1 Attachment(s)
Macro to match identical names and allocate ID's
-
So for deciding which ID to use for all identical names, you will decide which reference to use as priority? Also, why has the 3 records for MR. THOMAS CANES reduced to 2 records after making the ID same? Why the last record is removed?
-
Quote:
Originally Posted by
Excel Fox
So for deciding which ID to use for all identical names, you will decide which reference to use as priority? Also, why has the 3 records for MR. THOMAS CANES reduced to 2 records after making the ID same? Why the last record is removed?
Thanks for reply.
The reference will be set by us and they are this
There are 8 different references.
1. 1001
1002 Between this 2 the ID of 1001 will be alloted to 1002
2 1001
1002
3001 Between this 4 the ID of 1001 will be alloted all
3003
3 1001
1002
3001
3003 Between this 8 the ID of 2001 will be alloted to all.
2001
2002
2003
2010
Also, why has the 3 records for MR. THOMAS CANES reduced to 2 records after making the ID same?
Because the 3 record was correct, and all 2 records (ID's) were linked and corrected.
Hoping for favourable reply.
-
Sorry, but I can't understand any of that. I could think that I understand the point for the first two sets, where you want 1001 to be allotted for all. But I don't understand what's the logic of allotting 2001 for all those in the 3rd set.
And I don't understand the next point of removing that one row.
-
1 Attachment(s)
For better understanding i have revised the sample file.
-
Quote:
Originally Posted by
foncesa
For better understanding i have revised the sample file.
That does not tell us anything more than what you told us in Message #3. Don't simply tell us that you used 2001 instead of 1001, tell us WHY you used 2001 instead of 1001... what is the logic behind making that choice? Remember, we know nothing about your "business model" except for what you tell us, and so far, you haven't told us anything about how your business model works. Now, I can take a guess that maybe the reason you used 2001 instead of 1001 is because it is out of numerical sequence (2001 is less than the number above it, not greater than the number above it)... is that the reason? If so, then you need to tell us what you would use for this sequence...
1001
1002
4001
3001
5001
2001
3001 or 2001 (the first or last out of sequence number)?
-
1 Attachment(s)
Quote:
1001
1002
4001
3001
5001
2001
3001 or 2001 (the first or last out of sequence number)?
Quote:
If this is there then our set criteria will be 2001 always.
1001
1002
4001
3001
5001
Quote:
If this is there then our set criteria will be 1001 always.
Hope I was able to explain.
-
No, you have not "explained", you have simply "said". Look, if these were the numbers...
1001
1002
4001
3001
5001
2001
You said the answer would be 2001. WHY??? And if these were the numbers...
1001
1002
4001
3001
5001
You said the answer would be 1001. WHY???
You have to tell us the logic behind why those are the answers... do not just say they are the answer... tell us why you decided they are the answer. I know you are not just randomly selecting a value from the list of number, but what is not clear to us is why you chose those particular numbers. If you cannot tell us that, then I do not see how anyone will be able to help you (I know I will not be able to without a clear explanation why you select the numbers that you do).
-
Quote:
Originally Posted by
Rick Rothstein
I know I will not be able to without a clear explanation why you select the numbers that you do
That goes for any of the volunteers here. The solution requires a logic, and if you just say that for case X use W and case Y use Z, that is no good, unless there is a clear logic to that.