+ Reply to Thread
Results 1 to 5 of 5

Difficulty adding value to exclude criteria in formula. Cell with formula returns blank.

  1. #1
    Registered User
    Join Date
    07-18-2018
    Location
    England
    MS-Off Ver
    2016
    Posts
    84

    Difficulty adding value to exclude criteria in formula. Cell with formula returns blank.

    Hello

    I am using this formula:
    =IFERROR(INDEX([43.xlsx]Who_Did_What!$E$2:$E$19000,MATCH(1,INDEX(([43.xlsx]Who_Did_What!$C$2:$C$19000=G3)*([43.xlsx]Who_Did_What!$E$2:$E$19000<>"")*([43.xlsx]Who_Did_What!$D$2:$D$19000>0)*(MMULT(([43.xlsx]Who_Did_What!$D$2:$D$19000={896,872,873,874,875,876,877,878,879,880,905})+0,{1;1;1;1;1;1;1;1;1;1})=0),0),0)),"")

    You can see i am excluding values from column D in "43.xlsx",

    However i've tried to add "905" to this exclusion list as you can see above, but it returns blank.

    I am expecting to see GEFF

    905 is an ID number for a function, not a person, i am only interested in people i.e. GEFF

    I've attached both sheets used - im replicating solution to a live sheet with real data, attached is a replica

    Formula is in J3 of "example 2" & I will copy this to the other yellow boxes in that column

    Thank you
    Attached Files Attached Files

  2. #2
    Forum Expert kersplash's Avatar
    Join Date
    11-22-2016
    Location
    Perth
    MS-Off Ver
    Home 2016 (Windows 10)/Work 2013 Pro Plus (Windows 10)
    Posts
    2,012

    Re: Difficulty adding value to exclude criteria in formula. Cell with formula returns blan

    You would be better putting any linked sheets within the same workbook so we don't have to recreate the file structure.

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,366

    Re: Difficulty adding value to exclude criteria in formula. Cell with formula returns blan

    Try adding another 1 to the second matrix section:

    =IFERROR(INDEX([43.xlsx]Who_Did_What!$E$2:$E$19000,MATCH(1,INDEX(([43.xlsx]Who_Did_What!$C$2:$C$19000=G3)*([43.xlsx]Who_Did_What!$E$2:$E$19000<>"")*([43.xlsx]Who_Did_What!$D$2:$D$19000>0)*(MMULT(([43.xlsx]Who_Did_What!$D$2:$D$19000={896,872,873,874,875,876,877,878,879,880,905})+0,{1;1;1;1;1;1;1;1;1;1;1})=0),0),0)),"")

    In my experience of MMULT the two matrices:

    {896,872,873,874,875,876,877,878,879,880,905}

    and:

    {1;1;1;1;1;1;1;1;1;1;1}

    need to have the same number of items (in this case 11 each).
    Last edited by AliGW; 08-06-2018 at 03:52 AM.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,366

    Re: Difficulty adding value to exclude criteria in formula. Cell with formula returns blan

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,366

    Re: Difficulty adding value to exclude criteria in formula. Cell with formula returns blan

    Glad to have helped - thanks for the rep.

+ 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. Pivot Table - How to Add Formula to Exclude Row if a Cell is Blank
    By meppwc in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 05-02-2017, 02:08 PM
  2. [SOLVED] When my formula encounters a blank cell it returns a 0, I need it to return a blank
    By stretch99 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-27-2014, 07:52 PM
  3. I want to exclude blank cell in index match formula with multiple criteria
    By NOOR8225 in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 09-16-2013, 06:51 AM
  4. Replies: 11
    Last Post: 02-01-2013, 04:48 PM
  5. Exclude Blank Cell from Formula
    By Executive in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-25-2012, 03:53 PM
  6. Replies: 10
    Last Post: 01-06-2011, 01:02 PM
  7. Find first cell with formula that returns blank
    By daveIrwin in forum Excel General
    Replies: 1
    Last Post: 02-04-2005, 12:56 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