+ Reply to Thread
Results 1 to 6 of 6

Compare 2 colomns from 2 tables and make the difference of another colomns between 2 table

  1. #1
    Registered User
    Join Date
    07-30-2014
    Location
    London
    MS-Off Ver
    12
    Posts
    8

    Compare 2 colomns from 2 tables and make the difference of another colomns between 2 table

    HI,
    Can anyone help me on this Sheet. As from the Picture ...

    I need to look colB and colC should be equal to colH and colI, IF both cells matched, then copy the EmpNo(ColB or colH) and Counter(colC or colI) get the difference of values in another colomn

    If there is any row for Employee or Counter issing from either of tables populate with RED in either of 2 colomns,

    for example:at row 17, table 1 has a missing colC, and row 17(table1) = row18(table2), it should populate the row17 for table2, as a reference.
    excel.png

  2. #2
    Forum Expert Vikas_Gautam's Avatar
    Join Date
    06-04-2013
    Location
    Ludhiana,Punjab, India
    MS-Off Ver
    Excel 2013
    Posts
    1,850

    Re: Compare 2 colomns from 2 tables and make the difference of another colomns between 2 t

    Got the solution..( I guess)

    Try this in K2 or L2 and drag down....

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Don't forget to click *

  3. #3
    Registered User
    Join Date
    07-30-2014
    Location
    London
    MS-Off Ver
    12
    Posts
    8

    Re: Compare 2 colomns from 2 tables and make the difference of another colomns between 2 t

    HI vikas,
    the formula doesn't work ..I am attaching the spreadsheet for refrence.

    Can you please also add the matching empNo and CounterName also into different colomn with differences in totals from 2 tables
    Attached Files Attached Files

  4. #4
    Forum Expert Vikas_Gautam's Avatar
    Join Date
    06-04-2013
    Location
    Ludhiana,Punjab, India
    MS-Off Ver
    Excel 2013
    Posts
    1,850

    Thumbs up Re: Compare 2 colomns from 2 tables and make the difference of another colomns between 2 t

    Try this..

    Check the attachment..


    Don't forget to click *
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    07-30-2014
    Location
    London
    MS-Off Ver
    12
    Posts
    8

    Re: Compare 2 colomns from 2 tables and make the difference of another colomns between 2 t

    Vikas, thah works great ....and a small request, Is there any possiblity of populatin the missed rows from wither of table

    for example: at rows H4291&I4291 are missing from colB&colC, in this case, can u please, tell on how to populate in red on in either of the tables

  6. #6
    Registered User
    Join Date
    07-30-2014
    Location
    London
    MS-Off Ver
    12
    Posts
    8

    Re: Compare 2 colomns from 2 tables and make the difference of another colomns between 2 t

    Vikas, that works great ....and a small request, Is there any possibility of populating the missed rows from wither of table

    for example: at rows H4291&I4291 are missing from colB&colC, in this case, can u please, tell on how to populate in red on in either of the tables (as shown in sheet as highlighting in yellow)

+ 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. Compare diffrerent colomns based on one colomn
    By luckyvasul in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-31-2014, 03:46 AM
  2. Compare data in two colomns
    By luffield in forum Excel General
    Replies: 2
    Last Post: 10-23-2009, 09:13 AM
  3. Compare 2 text colomns and match rows depends by cell content
    By PRONET in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-31-2006, 11:58 AM
  4. count colomns
    By RobcPettit in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-12-2006, 09:10 AM
  5. Row & Colomns
    By Khalil Handal in forum Excel General
    Replies: 5
    Last Post: 04-06-2005, 05:06 AM

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