+ Reply to Thread
Results 1 to 3 of 3

Header Value matches, trasnfer the data to other sheet.

  1. #1
    Registered User
    Join Date
    09-01-2008
    Location
    pune
    MS-Off Ver
    Excel 2021
    Posts
    12

    Header Value matches, trasnfer the data to other sheet.

    I have two sheets, sheet1 contain header and data below that header.
    Sheet 2 contain only header.
    If sheet1 header matches sheet2 header than transfer the whole data below that header.
    Example:
    Sheet1:-
    empid emp_name emp_add contact_no remark
    111 xxx pune 211067 ok
    222 yyy london 3333300 ee
    333 zzz mumbai 777777 rrr
    444 aaa paris 0099988 ttt
    555 bbb dallas 778888 uuu

    Sheet2:
    empid emp_add remark

    After match found then
    Sheet2:
    empid emp_add remark
    111 pune ok
    222 london ee
    333 mumbai rrr
    444 paris ttt
    555 dallas uuu

    Please hepl me out to do this.
    Waiting for your replly.

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678
    Welcome to the forum.

    Maybe like this:
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    09-01-2008
    Location
    pune
    MS-Off Ver
    Excel 2021
    Posts
    12
    Thanks a lot!!!
    i have one more question, if i have to add som constant value to a particular cells in sheet2:
    Example
    Sheet2:

    empid emp_add group_id remark
    111 pune 1 ok
    222 london 1 ee
    333 mumbai 1 rrr
    444 paris 1 ttt
    555 dallas 1 uuu

    this group_id coloumn is not present in sheet1 while it is present in sheet2
    and explictly i have add some constant value to this.

+ 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. Add sheet reference to data
    By Vlad999 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-30-2008, 11:31 PM
  2. Grabbing specific data from another sheet.
    By Qwest in forum Excel General
    Replies: 5
    Last Post: 01-28-2008, 02:49 PM
  3. copying various cells in ot different cells in a different sheet
    By MonkeyDeath in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 07-25-2007, 11:22 AM
  4. Searching for a sheet and using data from the matching sheet.
    By meacho in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 07-06-2007, 09:51 AM
  5. How to compare cell data and merge matches into another sheet
    By sloehnert in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-02-2007, 06:17 PM

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