+ Reply to Thread
Results 1 to 4 of 4

Filter out numbers with Macor - to use in several reports

  1. #1
    Registered User
    Join Date
    02-23-2021
    Location
    Edmonton, Canada
    MS-Off Ver
    Excel 2016
    Posts
    30

    Smile Filter out numbers with Macor - to use in several reports

    I have over 1000 rows with numbers and would like to filter out and mark some of them (90) with a YES in the column beside them and NO for the other numbers.

    I have all the numbers in column N (Called ITEM) in this report, but in a different report the info about ITEM can be in a different column, but the column is still called ITEM.

    I would like to be able to run a Macro that marks the 90 numbers with a YES in the next column and the rest of the numbers with a NO
    In my testsheet I have marked two numbers that are our CORE numbers, so I would like to create a Macro, that I can run if I need to mark the numbers with a YES or a NO depending on, they are on my CORE list or not.

    I would like to be able to use this in different reports, that is why I can't mark them with a manual filter.
    I am maybe not the best to explain but I hope someone understands what I mean. Thankful for all the help I can get to solve this.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    02-11-2014
    Location
    New York
    MS-Off Ver
    Excel 365 (Windows)
    Posts
    5,947

    Re: Filter out numbers with Macor - to use in several reports

    Create a named range CoreList with your 90 values to look for and run this macro:


    Please Login or Register  to view this content.
    Or just use a formula, copied down

    =IF(ISERROR(MATCH(N6,CoreList,False)),"NO","YES")
    Bernie Deitrick
    Excel MVP 2000-2010

  3. #3
    Registered User
    Join Date
    02-23-2021
    Location
    Edmonton, Canada
    MS-Off Ver
    Excel 2016
    Posts
    30

    Re: Filter out numbers with Macor - to use in several reports

    Thank you so much Bernie

    Is there a way I can put all the 90 items numbers direct in the macro, so I can save it in my personal macro and use it when I run the report and then I can send out the excel without the macro. I have some macro that I can run on my computer but I do not need to send it as a macro when I send out the report.

  4. #4
    Registered User
    Join Date
    02-23-2021
    Location
    Edmonton, Canada
    MS-Off Ver
    Excel 2016
    Posts
    30

    Re: Filter out numbers with Macor - to use in several reports

    Thank you again. I manage to make it work.

+ 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] Create Reports based on Filter Criteria
    By Parth007 in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 11-18-2015, 11:29 AM
  2. Replies: 0
    Last Post: 06-12-2012, 09:23 AM
  3. how to make a macor for calculating values
    By greaseman in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-18-2007, 03:30 PM
  4. Replies: 0
    Last Post: 03-10-2006, 11:30 PM
  5. [SOLVED] Macor for Tranpose data
    By Elainey in forum Excel General
    Replies: 2
    Last Post: 01-04-2006, 04:25 PM
  6. Changing the macor button color
    By LoveCandle in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-08-2005, 04:57 AM
  7. Input box - Select a chart during macor
    By Ritesh in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-05-2005, 09:06 AM

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