I need to match the attached data so code 1 along with its data matches code 2. The excel sheet is attached. I do not not know how to do this.
All help is greatly appreciated, I have been stuck on this problem for a couple of weeks now.
I need to match the attached data so code 1 along with its data matches code 2. The excel sheet is attached. I do not not know how to do this.
All help is greatly appreciated, I have been stuck on this problem for a couple of weeks now.
Not sure what is your expected result and which is your source data
Please give some brief about your data for my better understanding
If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
Mark your thread as Solved
If the suggestion helps you, then Click *below to Add Reputation
I thought the expected result is trivial, but Ill explain anyway. I need code1 to match code2 without losing its attachment to code0.
Sorry, I dont understand what you want either
What is code 1's data? Keep in mind, this is blatantly obvious to you, but we really have no idea what you are working withI need to match the attached data so code 1 along with its data matches code 2.
Perhaps you samples of what your expected outcome would look like.
1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
2. If your question is resolved, mark it SOLVED using the thread tools
3. Click on the star if you think someone helped you
Regards
Ford
If you move col B one column left, there's a worbook at https://app.box.com/shared/elrnbidnr7 that will do this:
Row\Col A B C 1 Code2 Code Code1 20000001391689 HST 30000004655215 HST 0000004655215 40000007745443 HST 0000007745443 50012511446529 NT 60018787772324 HST 70018787781050 HST 80018787783054 HST 90018787784051 HST 100018787785058 HST 110018787786055 HST 120018787787052 HST 130018787788059 HST 140024182000207 NT 150024182002126 NT 160024182002188 NT 170024182003505 NT 180024182003512 NT 190024182003529 NT 200024182003536 NT 210024182003543 HST 220024182003550 NT 230024182003567 NT 240024182003581 NT 250024182003598 NT 260024182003604 NT 270024182003628 NT 280024182003864 NT 290024182013160 NT 300024182023527 NT 310024182023565 NT 320024182031515 NT 330024182031522 NT 340024182151695 NT 350024182300130 NT 360024182425901 NT 370024182493153 NT 380026395000043 HST 390026395000128 HST 400032917101815 NT 410032917101853 HST 420032917101877 NT 430033674105009 HST 0033674105009 440033674112007 HST 450033674135006 HST 46… …
Entia non sunt multiplicanda sine necessitate
In the example I posted, I selected A1 and C1, and entered Keys in the Names box (left of the formula bar). Then I ran the macro.
But they aren't the same. Numbers with leading zeros are strings, and strings are compared character by character. If leading zeros are not significant, convert them to numbers, so they disappear.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks