+ Reply to Thread
Results 1 to 5 of 5

Filter Help

  1. #1
    Registered User
    Join Date
    05-11-2021
    Location
    Australia
    MS-Off Ver
    OFIICE 365
    Posts
    5

    Question Filter Help

    I want to make a filter (or use a better function if told so) so that I can get a value that looks for '0's in a column, and then uses the corresponding value to that '0' or '0's and sums them together. I have done this and it all works fine, however when there are no '0's found in the column it comes up with '#CALC!', I understand that this is because there are no '0's, but I want to know if I can get it to give me a value of '0' if there are no '0's found in the column whilst still doing the previous functions works?

    See attached below for what the section of the sheet looks like when the function is working when there are '0's found in the column 'E'
    Capture.PNG

    See attached below for what the section of the sheet looks like when the function is not working when there are no '0's found in the column 'E'
    1Capture.PNG

    Ideally, I want it to run as is, but when there are no '0's found in column 'E', I want the cell above 'Completed' to show the value 1, and the cell above 'Remaining' to show the value 0.

    Thanks in advance.
    Last edited by Garlo; 05-11-2021 at 09:22 PM.

  2. #2
    Forum Expert
    Join Date
    02-10-2019
    Location
    Georgia, USA
    MS-Off Ver
    Office 365
    Posts
    2,831

    Re: Filter Help

    1. Your profile says Version 2104. I'm assuming you are on MS365 if you're using FILTER. Please update your profile.
    2. You should attach a sample file. Please read the yellow banner at the top of the page.
    3. Without looking into too much (without a file available), maybe wrap your formula in IFERROR and have 0 as the result if error?

  3. #3
    Registered User
    Join Date
    05-11-2021
    Location
    Australia
    MS-Off Ver
    OFIICE 365
    Posts
    5

    Question Re: Filter Help

    Cheers mate, please see the sample file attached as requested.
    Attached Files Attached Files

  4. #4
    Forum Expert
    Join Date
    02-10-2019
    Location
    Georgia, USA
    MS-Off Ver
    Office 365
    Posts
    2,831

    Re: Filter Help

    Can't you just use the SUMIFS formula?

    =SUMIFS(C3:C10,B3:B10,0)

  5. #5
    Registered User
    Join Date
    05-11-2021
    Location
    Australia
    MS-Off Ver
    OFIICE 365
    Posts
    5

    Re: Filter Help

    that works. thanks!

+ 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. VBA Advanced Filter - Two Filters Without Deleting Bottom Filter Data In Same Column Range
    By hysterical.useless in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-14-2017, 02:54 PM
  2. Macro to filter a pivot whilst looping through filter criteria in a variable list.
    By Alistairm88 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-29-2015, 04:25 AM
  3. [SOLVED] Excel 2007-Adv Filter Copy and Loop with Nested Autofilter Using Values from Adv Filter
    By Southfish in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-17-2014, 02:07 AM
  4. Replies: 6
    Last Post: 10-16-2014, 08:42 AM
  5. Need to filter a report filter based on the previous filter
    By elliotencore in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 01-28-2014, 07:44 AM
  6. Change Pivot table Filter Based on Cell Value *Multiple Filter items* Possible?
    By Flydd in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-27-2012, 06:57 AM
  7. Filter several pivot tables by one programmed date range filter in Excel 2003
    By olewka in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-08-2011, 11:49 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