+ Reply to Thread
Results 1 to 2 of 2

Match values and insert rows for non-matching values

  1. #1
    Registered User
    Join Date
    04-28-2009
    Location
    New York
    MS-Off Ver
    Excel 97
    Posts
    1

    Match values and insert rows for non-matching values

    Hi there,
    I really need some help with something I suspect is pretty basic:
    I have website names in column A with their associated revenue in column B. In column C are website names from another month, with their associated revenues in column D.
    A B C D
    bob.com 0.5 tim.com 0.4
    tim.com 0.2 bob.com 0.3
    joe.com 0.3 zack.com 0.2

    I need a way to alter the two lists so that they display the same list of domain names, but where a name that appears in A but not in B is filled-in as a 0 in column B, and vice versa. For instance:
    A B C D
    bob.com 0.5 bob.com 0.3
    tim.com 0.2 tim.com 0.4
    joe.com 0.3 0 0
    0 0 zack.com 0.2
    I tried using the formula =IF(ISNUMBER(MATCH(A2,B:B,0)),A2,""), but that only gives me part of what I'm looking for.
    Many advance thanks for your help!

  2. #2
    Forum Expert MickG's Avatar
    Join Date
    11-23-2007
    Location
    Banbury,Oxfordshire
    Posts
    2,650

    Re: Match values and insert rows for non-matching values

    Hi, Try this. The Results are in column "H" , But you can alter the Range at the Bottom of the code.
    I Assumed your Data is in columns "A to D" row (1) on.
    Please Login or Register  to view this content.
    Regards Mick

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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