+ Reply to Thread
Results 1 to 3 of 3

Copying sheet data

  1. #1
    Registered User
    Join Date
    03-26-2014
    Location
    INDIA
    MS-Off Ver
    Excel 2003
    Posts
    15

    Copying sheet data

    NEW.xls

    Dear all,

    I have attached excel file for reference . I need simple thing do with excel sheet. I have 2 sheet

    1) 1sheet -> country , location, code
    2) 2 sheet-> latitude, longitude, code.

    But in actually I have 2 different excel sheet. where data are seprated . for understanding i put in 1 sheet.

    This what i want in second sheet i would like to place Country & location based on code value.

    If Country_code in sheet 2 matches with country_code in sheet1 place corresponding country & location in sheet2 else put string "NA"
    NA represent country code not avilable

    In sheet 2 , There are Country code duplicate ,
    IF country code duplicate found remove duplicate record & place new record in Sheet 3 without duplicate.

    Please let me know how can do this

  2. #2
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: Copying sheet data

    D2=IFERROR(INDEX(COuntry_Location!$B$2:$B$100,MATCH($A2,COuntry_Location!$C$2:$C$100,0)),"NA")
    Please Login or Register  to view this content.
    E2=IFERROR(INDEX(COuntry_Location!$A$2:$A$100,MATCH($A2,COuntry_Location!$C$2:$C$100,0)),"NA")
    Please Login or Register  to view this content.
    Try this and copy towards down
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  3. #3
    Registered User
    Join Date
    03-26-2014
    Location
    INDIA
    MS-Off Ver
    Excel 2003
    Posts
    15

    Re: Copying sheet data

    Country_code.xlsxCounty_latitude.xlsx

    I have attached 2 excel file for reference but i could not able apply formula . can you check what mistake done in excel

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. copying data from one sheet to named sheets based on list on third sheet
    By Caddman2001 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-16-2015, 11:45 AM
  2. Replies: 1
    Last Post: 12-03-2013, 04:19 AM
  3. Replies: 1
    Last Post: 03-11-2013, 05:37 AM
  4. Replies: 0
    Last Post: 03-04-2013, 03:25 PM
  5. [SOLVED] Code from tigeravatar ,Copying data from one sheet and copying it
    By DanielRay in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 12-07-2012, 03:07 PM
  6. [SOLVED] Macro for copying data from one column in sheet 2 based on two criterias in sheet 1
    By baardings in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-13-2012, 01:50 PM
  7. Copying a template sheet and putting those multiple sheets data into a summary sheet
    By John Wolfe in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-18-2011, 06:29 PM

Tags for this Thread

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1