Consulting

Results 1 to 14 of 14

Thread: Solved: Compare two spreadsheets and seperate the unique ones

  1. #1
    VBAX Regular
    Joined
    Jan 2008
    Posts
    24
    Location

    Solved: Compare two spreadsheets and seperate the unique ones

    I have two spreadsheets(attached in one excel file as seperate TABS) titled "ADSB Purchase" and the other "CMN Purchase". Please write a VBA code that compares these two and then extracts all the rows containing "CMN Part No." found in both spreadsheets in two seperate Tabs based on the spreadsheet it is extracted from. Similarly I need the code to extract the rows containing "CMN Part No." which is not found in the other spreadsheet into two seperate Tabs, based on which spreadsheet it is extracted from.

    Thanks

    Nazeer

  2. #2
    VBAX Regular
    Joined
    Jan 2008
    Posts
    24
    Location
    Just a small clarification. Please note that the spreadsheet attached contains only the extract from my original spreadsheets which have several thousands of rows containing data. Therefore the code should not be limited to the number of rows in the spreadsheet attached with my earlier post.
    Thanks for the support

    Nazeer

  3. #3
    VBAX Regular
    Joined
    Jan 2008
    Posts
    24
    Location
    Please help me with this one.

    Thanks

    Nazeer N.V

  4. #4
    Moderator VBAX Wizard Aussiebear's Avatar
    Joined
    Dec 2005
    Location
    Queensland
    Posts
    5,059
    Location
    Are you sure this project of yours is not one more suitable to a vba coder on a commercial basis?
    Remember To Do the Following....
    Use [Code].... [/Code] tags when posting code to the thread.
    Mark your thread as Solved if satisfied by using the Thread Tools options.
    If posting the same issue to another forum please show the link

  5. #5
    VBAX Regular
    Joined
    Jan 2008
    Posts
    24
    Location
    Dear Aussie bear,

    I thought this was just a simple formula or code you experts can give. I have read guys asking for more complicated stuff on this forum. If you feel that this is to be done on a commercial basis. Please do not respond. As for others who believe that they can support me, please help if you can.

    Thanks

    Nazeer N.V

  6. #6
    VBAX Mentor anandbohra's Avatar
    Joined
    May 2007
    Location
    Mumbai
    Posts
    313
    Location
    Quote Originally Posted by nvnazeer
    Dear Aussie bear,

    I thought this was just a simple formula or code you experts can give. I have read guys asking for more complicated stuff on this forum. If you feel that this is to be done on a commercial basis. Please do not respond. As for others who believe that they can support me, please help if you can.

    Thanks

    Nazeer N.V
    I think u r missing Politeness in your wording.
    Just to remind u here we are to share knowledge & help other by solving their problem.
    U have neither subscribed to this forum nor its members.

    & better read the rules before posting.

    I hope that u get your reply soon as I am also on it.
    Always Mark your Thread as Solved the moment u got acceptable reply (located under Thread tools)
    Practice this & save time of others in thinking for unsolved thread

  7. #7
    VBAX Mentor anandbohra's Avatar
    Joined
    May 2007
    Location
    Mumbai
    Posts
    313
    Location
    I refered your workbook.

    Pl give example of the answer in your mind

    like u have given us the problem in 2 sheets now give us the type of solution & the way u want the answer with one or two example to let us proceed with the same.

    like u mentioned CMN Part No. 20100000071 found in both the sheets.
    4th record in sheet ADSB Purchase & 15th record in CMN Purchase
    now what to do???

    in new sheet how u want your data to be presented????????

    give me answer with the example based on the above CMN part no. so we can proceed with the code.



    CMN Part No.
    Always Mark your Thread as Solved the moment u got acceptable reply (located under Thread tools)
    Practice this & save time of others in thinking for unsolved thread

  8. #8
    Moderator VBAX Wizard Aussiebear's Avatar
    Joined
    Dec 2005
    Location
    Queensland
    Posts
    5,059
    Location
    G'day nvnazeer,

    Thank you for the personal invitation to respond to your request. I shall attend to this matter as soon as I can climb the lofty heights of your status.
    Remember To Do the Following....
    Use [Code].... [/Code] tags when posting code to the thread.
    Mark your thread as Solved if satisfied by using the Thread Tools options.
    If posting the same issue to another forum please show the link

  9. #9
    VBAX Regular
    Joined
    Jan 2008
    Posts
    24
    Location
    Gents,
    Iam sorry and apologize if I have ruffled some feathers here. It was totally unintentional. Please accept my apologies. Thanks for all the help and support ( especially Xld).

    Nazeer

  10. #10
    VBAX Regular
    Joined
    Jan 2008
    Posts
    24
    Location
    Anand,
    Please don't take the trouble of answering my post.

    Bye

    Nazeer

  11. #11
    VBAX Mentor anandbohra's Avatar
    Joined
    May 2007
    Location
    Mumbai
    Posts
    313
    Location
    Quote Originally Posted by nvnazeer
    Anand,
    Please don't take the trouble of answering my post.

    Bye

    Nazeer
    As u wish dude.

    Keep writing such language & soon u find not even a single post in your thread.
    Always Mark your Thread as Solved the moment u got acceptable reply (located under Thread tools)
    Practice this & save time of others in thinking for unsolved thread

  12. #12
    Moderator VBAX Wizard Aussiebear's Avatar
    Joined
    Dec 2005
    Location
    Queensland
    Posts
    5,059
    Location
    uhoh.... Now I've gone and done it.

    To all the forum members, I too wish to apologise for my behaviour. It was not my intention to chase a fellow forum contributor away.
    Remember To Do the Following....
    Use [Code].... [/Code] tags when posting code to the thread.
    Mark your thread as Solved if satisfied by using the Thread Tools options.
    If posting the same issue to another forum please show the link

  13. #13
    VBAX Regular
    Joined
    Jan 2008
    Posts
    24
    Location
    Anand,
    With all respect to other Forum members(including Aussiebear) and VBAX itself, I would like to state that with guys like you in this forum(who try to interpret the language and make it into an issue) I do not intend to post in this forum again. So there is no question of there being no single answer in my thread.
    Does that satisfy your reply.
    Though I have apologized, your intentions are not clear when you keep looking in this post and replying again about bad language even after I have stated that this is solved.

    Good Luck in discouraging other forum members!

  14. #14
    Moderator VBAX Wizard Aussiebear's Avatar
    Joined
    Dec 2005
    Location
    Queensland
    Posts
    5,059
    Location
    Hang on there.... Anand initially pointed out that your reply was lacking in "politeness". He was in all respects simply a bystander as your comment was directed at me. For a bystander to comment on the perception of lack of politeness then its more than possible that your writing style truely reflected the intent of your post. Please do not shift the responcibility for what you wrote to another person.
    Remember To Do the Following....
    Use [Code].... [/Code] tags when posting code to the thread.
    Mark your thread as Solved if satisfied by using the Thread Tools options.
    If posting the same issue to another forum please show the link

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •