+ Reply to Thread
Results 1 to 4 of 4

Matching and deleting data in 2 columns

  1. #1
    Registered User
    Join Date
    04-27-2013
    Location
    Illinois
    MS-Off Ver
    Excel 2007
    Posts
    2

    Matching and deleting data in 2 columns

    I have two columns. Column A is a list of counties that I am using in my study. Column B is the names of the counties that I have data for and Column C has the values of the data. Is there a way to delete entries in Column B and C if they don't match up with one of the entries in Column A? Let me know if I need to clarify. Thanks in advance for your help



    Example:

    ColumnA
    A
    C
    E
    F
    H

    ColumnB
    County
    A
    B
    C
    D
    E
    F
    G
    H

    ColumnC
    employment rate
    Corresponding numbers are in this column
    Last edited by rain-a-shine; 04-27-2013 at 11:15 AM. Reason: formatting issues

  2. #2
    Registered User
    Join Date
    09-17-2012
    Location
    Riyadh,KSA
    MS-Off Ver
    Excel 2007
    Posts
    34

    Re: Matching and deleting data in 2 columns

    its better to attach sample workbook...
    i really appreciate if you hit *...

  3. #3
    Registered User
    Join Date
    04-27-2013
    Location
    Illinois
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Matching and deleting data in 2 columns

    Here is my workbook. If the county in column B does not match with a county in column A I would like to delete that county in column B along with its value in column C.

    Thanks!
    Attached Files Attached Files

  4. #4
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Matching and deleting data in 2 columns

    I haven't done the deletions for you but have shown the formula to use and the results. Now all you have to do is to columns B, C, and D using column D as the sort column. Delete the rows that don't have an entry in column D.
    Attached Files Attached Files
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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