+ Reply to Thread
Results 1 to 5 of 5

Create array of items which are in List A but not present in List B

  1. #1
    Valued Forum Contributor ImranBhatti's Avatar
    Join Date
    03-27-2014
    Location
    Rawalpindi,Pakistan
    MS-Off Ver
    Office 365
    Posts
    1,784

    Create array of items which are in List A but not present in List B

    Hi

    I have 2 arrays (1D) in the attached I want to compare both ones and create a 3rd Array that will contain those items which are present in A List and not present in List B

    Best Regards
    Imran Bhatti
    Attached Files Attached Files
    Teach me Excel VBA

  2. #2
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,648

    Re: Create array of items which are in List A but not present in List B

    You may try something like this...

    Please Login or Register  to view this content.
    Regards
    sktneer


    Treat people the way you want to be treated. Talk to people the way you want to be talked to.
    Respect is earned NOT given.

  3. #3
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,519

    Re: Create array of items which are in List A but not present in List B

    Please Login or Register  to view this content.

  4. #4
    Valued Forum Contributor ImranBhatti's Avatar
    Join Date
    03-27-2014
    Location
    Rawalpindi,Pakistan
    MS-Off Ver
    Office 365
    Posts
    1,784

    Re: Create array of items which are in List A but not present in List B

    Quote Originally Posted by jindon View Post
    Please Login or Register  to view this content.
    A shorter solution. Appreciated....can quickly convert the e from collection to array as later on I want to use this third array in autofilter?
    without placing it on the worksheet.

  5. #5
    Valued Forum Contributor ImranBhatti's Avatar
    Join Date
    03-27-2014
    Location
    Rawalpindi,Pakistan
    MS-Off Ver
    Office 365
    Posts
    1,784

    Re: Create array of items which are in List A but not present in List B

    sorry for the silly question I just did it by replacing this line
    Please Login or Register  to view this content.
    with this
    Please Login or Register  to view this content.

+ 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. [SOLVED] Formula to create list of items selected for reports (array formula?)
    By Cidona in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 04-06-2018, 02:09 AM
  2. Replies: 4
    Last Post: 11-05-2014, 09:38 AM
  3. Replies: 4
    Last Post: 06-30-2014, 11:13 AM
  4. [SOLVED] How to shorten code into an array to create a list of items separated by commas
    By mdovey in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-21-2014, 12:23 PM
  5. [SOLVED] Using an array to create a list of selected items
    By Harribone in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-02-2014, 04:40 PM
  6. Create a list of items based on another list
    By rickyg in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 09-10-2010, 09:57 AM
  7. Replies: 10
    Last Post: 03-19-2007, 11:30 PM

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