HI ashish, Thanks for reply.But I have some more requirements.The third worksheet "consolidated" originally doesn't exists,I have created it for an example.Actually the w.sheet named *SAP *will be created by downloading data from *ERP.*The w.sheet *physical* will be added to this file manually.While executing macro from any of this w.sheet,*It has to create the third w.sheet named consolidated,As per the given structure and consolidate fields **unrestricted & Quantity based on material** and the diffidence of these fields should come in filed diff*.Hope you will help me.Thanking you in advance.
aju v chacko On Sat, Jan 16, 2010 at 1:20 PM, ashish koul <koul.ash...@gmail.com> wrote: > hi check it r u looking for this > > On Fri, Jan 15, 2010 at 10:28 PM, aju chacko <ajuvcha...@gmail.com> wrote: > >> HI VBA GURUS, >> I know excel pretty well,But my knowledge in VBA >> is big zero.I have two excel work sheets (SAP & PHY),both are arranged as >> table & *one common field (MATERIAL) *available in both sheets ,what I >> required* is a macro* that brings *quantity* from w.sheet PHY >> against *unrestricted* in w.sheet SAP for the same *material*.*Similarly >> if a MATERIAL is not available in w.sheet SAP,but in w.sheet PHY that >> also should come in consolidated workshee*t.The difference of these two >> fields ( *unrestricted-**quantity) *should appear in field DIFF.Please >> see the attached file which shows the example.KINDLY HELP,Now I am doing >> this manually with vlookup function. >> >> AJU V CHACKO >> >> >> >> -- >> >> ---------------------------------------------------------------------------------- >> Some important links for excel users: >> 1. Follow us in TWITTER for tips tricks and links : >> http://twitter.com/exceldailytip >> 2. Excel and VBA Tutorials(Video and Text), Free add-ins downloads at >> http://www.excelitems.com >> 3. Excel tutorials at http://www.excel-macros.blogspot.com >> 4. Learn VBA Macros at http://www.quickvba.blogspot.com >> 5. Excel Tips and Tricks at http://exceldailytip.blogspot.com >> >> >> To post to this group, send email to excel-macros@googlegroups.com >> If you find any spam message in the group, please send an email to: >> Ayush Jain @ jainayus...@gmail.com >> <><><><><><><><><><><><><><><><><><><><><><> >> HELP US GROW !! >> >> We reach over 6,500 subscribers worldwide and receive many nice notes >> about the learning and support from the group.Let friends and co-workers >> know they can subscribe to group at >> http://groups.google.com/group/excel-macros/subscribe >> >> > > -- > > ---------------------------------------------------------------------------------- > Some important links for excel users: > 1. Follow us in TWITTER for tips tricks and links : > http://twitter.com/exceldailytip > 2. Excel and VBA Tutorials(Video and Text), Free add-ins downloads at > http://www.excelitems.com > 3. Excel tutorials at http://www.excel-macros.blogspot.com > 4. Learn VBA Macros at http://www.quickvba.blogspot.com > 5. Excel Tips and Tricks at http://exceldailytip.blogspot.com > > > To post to this group, send email to excel-macros@googlegroups.com > If you find any spam message in the group, please send an email to: > Ayush Jain @ jainayus...@gmail.com > <><><><><><><><><><><><><><><><><><><><><><> > HELP US GROW !! > > We reach over 6,500 subscribers worldwide and receive many nice notes about > the learning and support from the group.Let friends and co-workers know they > can subscribe to group at > http://groups.google.com/group/excel-macros/subscribe > >
-- ---------------------------------------------------------------------------------- Some important links for excel users: 1. Follow us on TWITTER for tips tricks and links : http://twitter.com/exceldailytip 2. Excel and VBA Tutorials(Video and Text), Free add-ins downloads at http://www.excelitems.com 3. Excel tutorials at http://www.excel-macros.blogspot.com 4. Learn VBA Macros at http://www.quickvba.blogspot.com 5. Excel Tips and Tricks at http://exceldailytip.blogspot.com To post to this group, send email to excel-macros@googlegroups.com If you find any spam message in the group, please send an email to: Ayush Jain @ jainayus...@gmail.com <><><><><><><><><><><><><><><><><><><><><><> HELP US GROW !! We reach over 6,700 subscribers worldwide and receive many nice notes about the learning and support from the group.Let friends and co-workers know they can subscribe to group at http://groups.google.com/group/excel-macros/subscribe