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 worksheet.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
SAP.XLS
Description: MS-Excel spreadsheet