It works great except My real Sheet1 has columns A-L and Sheet2 has columns A-T. I couldn't tell how to modify your code to get all the columns into Sheet3.
Thanks, Bob ________________________________ From: Vaibhav Joshi <v...@vabs.in> To: "excel-macros@googlegroups.com" <excel-macros@googlegroups.com> Sent: Thursday, December 18, 2014 5:00 AM Subject: Re: $$Excel-Macros$$ Re: How to append row from 1 sheet to end of row of second sheet based on cell value Hi Bob. Check this for macro solution..Click blue button & you get your data as desired in sheet3. Be cautious when you change sheets name, amend records too.. I assume that sheet2 doesnt have duplicates.. Cheers!! +++++ I did not do this for you. God is here working through me for you. On Thu, Dec 18, 2014 at 11:38 AM, bobengler <bobeng...@bellsouth.net> wrote: > > >It really needs a VBA Macro probably to check Sheet1 row by row to see if it >has any matches in Sheet2. If you look at the Test Sheet, it shows what I need >it to do. You will notice that a few rows have the same Column2 data in Sheet1. > > >Thanks, Bob > > > From: Mandeep Baluja <rockerna...@gmail.com> >To: excel-macros@googlegroups.com >Sent: Thursday, December 18, 2014 12:50 AM >Subject: $$Excel-Macros$$ Re: How to append row from 1 sheet to end of row of >second sheet based on cell value > > > >check this out. > > >Regards, >Mandeep Baluja >LearningZmyPassion >https://www.linkedin.com/profile/view?id=312532939 >https://www.facebook.com/VBAEXCELSQL?ref=hl > > > > >On Thursday, December 18, 2014 5:27:30 AM UTC+5:30, Bob Engler wrote: >If columnA in sheet2 matches columnB in sheet1, append the data from the row >in sheet2 to the end of the row in sheet1. Sheet1 may have multiple rows with >the same column data and the data from sheet2 needs to be added to all sheet1 >matching rows. ie: >>Sheet1: >>hr abc ddd rrt >>hr dew ggg wqq >>hr dew fff xxx >> >>Sheet2: >>abc ppp ooo >>cdc jjj lll >>dew mmm vvv >> >>Sheet3: >>hr abc fff rrt abc ppp ooo >>hr dew ggg wqq dew mmm vvv >>hr dew fff xxx dew mmm vvv >> >>Thanks you for any help... >-- >Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s >=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ >https://www.facebook.com/discussexcel > >FORUM RULES > >1) Use concise, accurate thread titles. Poor thread titles, like Please Help, >Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get >quick attention or may not be answered. >2) Don't post a question in the thread of another member. >3) Don't post questions regarding breaking or bypassing any security measure. >4) Acknowledge the responses you receive, good or bad. >5) Jobs posting is not allowed. >6) Sharing copyrighted material and their links is not allowed. > >NOTE : Don't ever post confidential data in a workbook. Forum owners and >members are not responsible for any loss. >--- > You received this message because you are subscribed to a topic in the Google Groups "MS EXCEL AND VBA MACROS" group. >To unsubscribe from this topic, visit >https://groups.google.com/d/topic/excel-macros/IHBU7WGs4LA/unsubscribe. >To unsubscribe from this group and all its topics, send an email to >excel-macros+unsubscr...@googlegroups.com. >To post to this group, send email to excel-macros@googlegroups.com. >Visit this group at http://groups.google.com/group/excel-macros. >For more options, visit https://groups.google.com/d/optout. > > > >-- >Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s >=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ >https://www.facebook.com/discussexcel > >FORUM RULES > >1) Use concise, accurate thread titles. Poor thread titles, like Please Help, >Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get >quick attention or may not be answered. >2) Don't post a question in the thread of another member. >3) Don't post questions regarding breaking or bypassing any security measure. >4) Acknowledge the responses you receive, good or bad. >5) Jobs posting is not allowed. >6) Sharing copyrighted material and their links is not allowed. > >NOTE : Don't ever post confidential data in a workbook. Forum owners and >members are not responsible for any loss. >--- >You received this message because you are subscribed to the Google Groups "MS >EXCEL AND VBA MACROS" group. >To unsubscribe from this group and stop receiving emails from it, send an >email to excel-macros+unsubscr...@googlegroups.com. >To post to this group, send email to excel-macros@googlegroups.com. >Visit this group at http://groups.google.com/group/excel-macros. >For more options, visit https://groups.google.com/d/optout. > -- Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ https://www.facebook.com/discussexcel FORUM RULES 1) Use concise, accurate thread titles. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get quick attention or may not be answered. 2) Don't post a question in the thread of another member. 3) Don't post questions regarding breaking or bypassing any security measure. 4) Acknowledge the responses you receive, good or bad. 5) Jobs posting is not allowed. 6) Sharing copyrighted material and their links is not allowed. NOTE : Don't ever post confidential data in a workbook. Forum owners and members are not responsible for any loss. --- You received this message because you are subscribed to a topic in the Google Groups "MS EXCEL AND VBA MACROS" group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/excel-macros/IHBU7WGs4LA/unsubscribe. To unsubscribe from this group and all its topics, send an email to excel-macros+unsubscr...@googlegroups.com. To post to this group, send email to excel-macros@googlegroups.com. Visit this group at http://groups.google.com/group/excel-macros. For more options, visit https://groups.google.com/d/optout. -- Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ https://www.facebook.com/discussexcel FORUM RULES 1) Use concise, accurate thread titles. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get quick attention or may not be answered. 2) Don't post a question in the thread of another member. 3) Don't post questions regarding breaking or bypassing any security measure. 4) Acknowledge the responses you receive, good or bad. 5) Jobs posting is not allowed. 6) Sharing copyrighted material and their links is not allowed. NOTE : Don't ever post confidential data in a workbook. Forum owners and members are not responsible for any loss. --- You received this message because you are subscribed to the Google Groups "MS EXCEL AND VBA MACROS" group. To unsubscribe from this group and stop receiving emails from it, send an email to excel-macros+unsubscr...@googlegroups.com. To post to this group, send email to excel-macros@googlegroups.com. Visit this group at http://groups.google.com/group/excel-macros. For more options, visit https://groups.google.com/d/optout.