+ Reply to Thread
Results 1 to 3 of 3

two tables compare and fix

  1. #1
    Forum Contributor
    Join Date
    05-06-2015
    Location
    Sri Lanka
    MS-Off Ver
    2016, 2007
    Posts
    135

    two tables compare and fix

    So this is the question

    I have three columns
    1. Names
    2. Practical_Ranges
    3. theoretical_Ranges

    Names and Practical Ranges can be considered as pairs.

    I can simplify it like this

    Capture.JPG

    So as you can see Names can be repeat but not ranges.

    My result should be like this

    Capture2.JPG

    can you help?

  2. #2
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: two tables compare and fix

    in D1
    =COUNTIF(C$1:C$7,B1)
    and copy down to D10



    The following are Array formulas, use Ctrl-Shift-Enter

    in E1
    =IFERROR(INDEX($A$1:$B$10,SMALL((IF(D$1:D$10<>0,ROW(INDIRECT("1:"&ROWS($A$1:$A$10))))),ROW(A1)),1),"")
    in F1
    =IFERROR(INDEX($A$1:$B$10,SMALL((IF(D$1:D$10<>0,ROW(INDIRECT("1:"&ROWS($A$1:$A$10))))),ROW(A1)),2),"")

    and copy down to E10:F10
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  3. #3
    Forum Expert
    Join Date
    08-16-2015
    Location
    Antwerpen, Belgium
    MS-Off Ver
    2007-2016
    Posts
    2,380

    Re: two tables compare and fix

    what happend with name 2 and range 2 ?


    Kind regards
    Leo

+ 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 two tables
    By mlint in forum Excel General
    Replies: 5
    Last Post: 10-29-2014, 08:35 AM
  2. Compare between 2 tables
    By dispro14 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-27-2014, 03:38 AM
  3. compare two tables with a formula
    By tal_a in forum Excel General
    Replies: 2
    Last Post: 07-11-2010, 11:14 AM
  4. compare two tables
    By ekoot in forum Excel General
    Replies: 2
    Last Post: 02-08-2010, 07:44 AM
  5. How to compare tables.
    By tompogo in forum Excel General
    Replies: 7
    Last Post: 01-11-2010, 03:52 PM
  6. To compare to tables of data
    By kucinskij in forum Excel General
    Replies: 1
    Last Post: 10-08-2007, 01:19 PM
  7. need to compare between 2 tables
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-24-2006, 06:45 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