+ Reply to Thread
Results 1 to 4 of 4

Let Function with Nested Filter Function

  1. #1
    Registered User
    Join Date
    09-02-2021
    Location
    Seattle WA
    MS-Off Ver
    Excel 2019 16.0.6742.2048
    Posts
    2

    Let Function with Nested Filter Function

    Hello All I have been trying to get this working with no luck. ACHfilter and QBfilter are returning #Value error. They run fine when there is only one filter but with two filters they mess up. I feel like I am missing something simple. Anyone got ideas?


    =LET(
    MonthStart, EOMONTH(AZ$5,-1)+1,
    MonthEnd, EOMONTH(AZ$5,0),
    LoanID,$D6,
    ACHFilter,FILTER(ACHamt,(ACHloanID=LoanID)*(ACHDate>=MonthStart)*(ACHDate<=MonthEnd)),
    QBFilter, FILTER(QBamt,(QBLoanID=LoanID)*(QBDate>=MonthStart)*(QBDate<=MonthEnd)),
    IF(SUM(ACHFilter)<>0,0,SUM(QBFilter)))
    Attached Files Attached Files
    Last edited by Sausage Pizza; 09-02-2021 at 01:50 PM.

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,428

    Re: Let Function with Nested Filter Function

    Please see the yellow banner at the top of the page.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Registered User
    Join Date
    09-02-2021
    Location
    Seattle WA
    MS-Off Ver
    Excel 2019 16.0.6742.2048
    Posts
    2

    Re: Let Function with Nested Filter Function

    Got it. Attachment Is Added.

  4. #4
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,078

    Re: Let Function with Nested Filter Function

    You have not dates in the 1st table that meet the requirement so you get the #Calc error, try it like
    Formula: copy to clipboard
    Please Login or Register  to view this content.

+ 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. Replies: 1
    Last Post: 03-02-2021, 10:50 PM
  2. Replies: 2
    Last Post: 01-05-2019, 03:33 AM
  3. Calling function inside function. (aka nested function)
    By jakopak in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-02-2015, 05:58 AM
  4. COUNTIF/COUNTIFS function + nested user-defined function
    By shamjamali in forum Excel General
    Replies: 1
    Last Post: 05-12-2015, 09:12 PM
  5. Advanced Filter, nested =IF function, or possibly some other tricker *please help*
    By mmarshall in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-26-2008, 09:49 PM
  6. Replies: 1
    Last Post: 06-26-2008, 08:42 PM
  7. [SOLVED] Offset function with nested match function not finding host ss.
    By MKunert in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-21-2006, 06:50 PM

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