Hi thanks for revert but i dont want to use vlookup. I want macro code for entering name n nos.
for example: if i put Delhi in City field then name and phone nos of ADM and GM of Delhi should automatically come in theri fields. Same as i put Mumbai . Regards Deepak Rawat On Wed, May 20, 2009 at 10:21 AM, HP Reddy <hprkont...@gmail.com> wrote: > Hi Deepak, > > You can use the VLOOKUP formula. > > Check the sheet2 in the attached file. > > Revert for clarifications. > > Regards > hpreddy > > > On Wed, May 20, 2009 at 10:40 AM, Deepak Rawat <deepakrawa...@gmail.com>wrote: > >> Hi all! i have attached a file, there is 5 fields in the file >> my requirement is, as i put city name in city field, then all the field >> should fill accordingly >> like as i put Mumbai, the names n Ph nos come accordingly ie. AMD_NAME=>ANIK >> BHASIN AND ADM_PH => 9921356982 and the same for GM name as well. >> >> regards, >> Deepak rawat >> >> > > > --~--~---------~--~----~------------~-------~--~----~ ------------------------------------------------------------------------------------- Some important links for excel users: 1. Excel and VBA Tutorials(Video and Text), Free add-ins downloads at http://www.excelitems.com 2. Excel tutorials at http://www.excel-macros.blogspot.com 3. Learn VBA Macros at http://www.vbamacros.blogspot.com 4. 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 or Ashish Jain @ 26may.1...@gmail.com ------------------------------------------------------------------------------------- -~----------~----~----~----~------~----~------~--~---