+ Reply to Thread
Results 1 to 2 of 2

Exclude values with specific criteria in an array and include for only month of Jan

  1. #1
    Forum Contributor
    Join Date
    08-12-2013
    Location
    USA
    MS-Off Ver
    Excel 2016
    Posts
    146

    Exclamation Exclude values with specific criteria in an array and include for only month of Jan

    So I have a giant list of data I am looking to turn into a report. I am using a formula (which I havent totally figured out yet...) on a seperate sheet from my data(My_Table)<where I put all my raw data. I have most of the formula done {=SUMPRODUCT(INDEX(My_Table,0,17),((ISNUMBER(LEFT(SUBSTITUTE(INDEX(My_Table,0,7),"-",""),6))+0)+(ISNUMBER(INDEX(My_Table,0,7))+0)+(LEN(INDEX(My_Table,0,7))=16)+(LEN(INDEX(My_Table,0,7))=15)+(LEN(INDEX(My_Table,0,7))=8))+(LEN(INDEX(My_Table,0,7))=7),--(INDEX(My_Table,0,2)="SMITH, JOHN"),--(INDEX(My_Table,0,10)="MACH"),--(INDEX(My_Table,0,7)<>(SEARCH("BU",(INDEX(My_Table,0,7)),0))))} but need to fix the last part and add the month criteria. It needs to exclude numbers from column 7 which have BU in it( for example I22BU2E) and not add the numbers in column 17 if they are found. Also I need to only include numbers to be added which lie in the month of January for example. My cells are in the date format ##/##/#### and I tried using --MONTH(INDEX(My_Table,0,6))=1 and am getting 0... I cannot upload the file but could always provide sample workbooks to assist if there is more than a simple tweak necessary.

    Thanks!

    EDIT:There are empty cells and a cell which says Date in column 6
    Last edited by excel2425; 12-27-2013 at 04:15 PM.

  2. #2
    Forum Contributor
    Join Date
    08-12-2013
    Location
    USA
    MS-Off Ver
    Excel 2016
    Posts
    146

    Re: Exclude values with specific criteria in an array and include for only month of Jan

    Any help...?

+ 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. Set filter to EXCLUDE values rather than include them
    By Uther_d_dragon in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-21-2013, 10:54 AM
  2. Create an array based off values in another array - exclude blanks
    By clifton1230 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-05-2013, 05:35 PM
  3. Replies: 5
    Last Post: 07-19-2012, 08:18 PM
  4. Replies: 2
    Last Post: 07-20-2010, 01:25 PM
  5. Include/Exclude Specific Instring Characters From A Querry Search
    By bdb1974 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 01-05-2010, 03:43 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