+ Reply to Thread
Results 1 to 3 of 3

Check 2 fields from one table and match with 2 fields of other table

  1. #1
    Registered User
    Join Date
    05-12-2016
    Location
    Mumbai, India
    MS-Off Ver
    2010
    Posts
    56

    Exclamation Check 2 fields from one table and match with 2 fields of other table

    Hi,

    I want to get data from one table to other by matching 2 separate fields from 2 tables placed in different sheets of the excel file.

    Eg.:

    Sheet 1 Data

    Header 1 Header 2 Result 1
    abc x
    abc y
    abc z
    def x
    ghi y


    Sheet 2 Data

    Header 1 Header 2 Quantity 1
    abc x 3
    abc y 5
    abc z 2
    def x 4
    ghi y 7


    Now I want to compare header 1 & header 2 of both the sheets and get the quantity1 data from sheet 2 to result1 field in sheet 1.

    Please help.

  2. #2
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,649

    Re: Check 2 fields from one table and match with 2 fields of other table

    Try this...

    On Sheet1
    In C2
    Please Login or Register  to view this content.
    and copy it down. Change the range reference as required but don't refer the whole column reference like A:A etc.

    Sheet1:
    Sheet1.JPG

    Sheet2:
    Sheet2.JPG
    Regards
    sktneer


    Treat people the way you want to be treated. Talk to people the way you want to be talked to.
    Respect is earned NOT given.

  3. #3
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,649

    Re: Check 2 fields from one table and match with 2 fields of other table

    Thanks for the rep.

    If that takes care of your original question, please mark your thread as Solved by selecting Thread Tools (just above your first post) --> Mark thread as solved.

+ 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. Hide fields(table columns) from Pivot table Fields
    By alexholly in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 04-28-2017, 08:24 PM
  2. Replies: 2
    Last Post: 10-26-2015, 06:49 AM
  3. [SOLVED] Pivot Table fields based on two counted fields
    By tejas.itraj in forum Excel Charting & Pivots
    Replies: 6
    Last Post: 01-17-2014, 10:53 AM
  4. Replies: 1
    Last Post: 04-25-2011, 01:17 PM
  5. Hiding Specific Fields on Pivot Table Fields
    By branco in forum Excel General
    Replies: 7
    Last Post: 03-26-2010, 09:39 AM
  6. How to Disable automatic fields in pivot table like total and count on fields
    By anushka in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 09-24-2009, 07:53 AM
  7. Differentiate between column fields and data fields in a pivot table
    By whiteheadw in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-12-2009, 01:59 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