+ Reply to Thread
Results 1 to 3 of 3

Macro to filter list of missing items.

  1. #1
    Registered User
    Join Date
    12-08-2019
    Location
    Shrewsbury
    MS-Off Ver
    2016
    Posts
    32

    Macro to filter list of missing items.

    Hi,

    I'm looking for a macro that compares a list of Shop Items that compares with a Full Stock List and replaces the Shop Items list with what items are missing from the Shop Items list. I have attached an example.

    Thanks in advance.
    Attached Files Attached Files
    Last edited by fullmetalchrono; 01-29-2020 at 07:44 PM.

  2. #2
    Forum Expert
    Join Date
    11-24-2013
    Location
    Paris, France
    MS-Off Ver
    Excel 2003 / 2010
    Posts
    9,831

    Cool Hi ! Try this !


    As a VBA beginner starter demonstration :

    PHP Code: 
    Sub Demo1()
      Const 
    ", "
        
    Dim S$(), V
            S 
    Split([B2], D)
            For 
    Each V In Split([A2], D):  Filter(SVFalse):  Next
            MsgBox Join
    (SD)
    End Sub 
    Do you like it ? So thanks to click on bottom left star icon « Add Reputation » !

  3. #3
    Registered User
    Join Date
    12-08-2019
    Location
    Shrewsbury
    MS-Off Ver
    2016
    Posts
    32

    Re: Hi ! Try this !

    Thanks.

    Rather than a message box is there anyway for that text to appear in A2 with the text "Need" preceeding it?

+ 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] Creating a Macro that makes a list of missing items
    By fullmetalchrono in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-22-2020, 08:25 PM
  2. Formula for checking what items are missing from a list
    By tukae in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-22-2019, 12:09 AM
  3. [SOLVED] Macro to find missing items
    By elgato74 in forum Excel Programming / VBA / Macros
    Replies: 21
    Last Post: 06-26-2017, 09:42 AM
  4. Missing From PivotTable Filter List
    By goss in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 04-02-2014, 02:17 AM
  5. Compare two columns and produce a list of 'missing' items
    By woodsonline in forum Excel General
    Replies: 5
    Last Post: 08-05-2008, 04:39 AM
  6. How to filter list for missing fields
    By djarcadian in forum Excel General
    Replies: 1
    Last Post: 03-08-2005, 08:08 PM
  7. [SOLVED] Drop-down list items are missing after reopen Workbook
    By Compnerd in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-08-2005, 02:06 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