Closed Thread
Results 1 to 4 of 4

Delete Cell Numbers of Column B From Column A (Column B Small and Column A too big)

  1. #1
    Registered User
    Join Date
    03-21-2012
    Location
    Karachi, Pakistan
    MS-Off Ver
    Excel 2010
    Posts
    81

    Unhappy Delete Cell Numbers of Column B From Column A (Column B Small and Column A too big)

    I am new to use Excel.I am using MS OFFICE PROFESSIONAL PLUS 2010.
    Operating system Windows 7. I have 50 Lacs Local Cell Numbers and i want
    to delete my competitors cell numbers from this big list which is 302 cell numbers.

    I divide this big list into 5 Sheets because each excel sheet allow 1048576 rows.
    The big list is paste in column A and the competitor list is paste on column B.

    Column "A" have all cell numbers
    Range = (A2:A1048576)

    Column B have all competitors cell numbers
    Range = (B2:B302)

    Column C for refine result without competitors

    I want to delete Column B values from column A so what can i do for it.

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Delete Cell Numbers of Column B From Column A (Column B Small and Column A too big)

    Try this on a copy of your data:

    1) Insert a blank row at the top
    2) In C1 put "Key"
    3) In C2 put this formula:

    =ISNUMBER(MATCH(B2, A:A, 0))

    4) Copy that formula down the entire data set (the length of column A data)
    5) Click on column C and turn on the Data > Filter (Table) function
    6) Use the drop down in C1 to filter for TRUE
    7) Delete all visible rows of data
    8) Turn off the Filter, delete column C (and B, it's not needed anymore)
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Delete Cell Numbers of Column B From Column A (Column B Small and Column A too big)

    A vba version would be something like this:
    Please Login or Register  to view this content.

  4. #4
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Delete Cell Numbers of Column B From Column A (Column B Small and Column A too big)

    Welcome to the Forum, unfortunately:

    This is a duplicate post and as such does not comply with Rule 5 of our forum rules. This thread will now be closed, you may continue in your other thread.

    Thread Closed.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

Closed 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