+ Reply to Thread
Results 1 to 4 of 4

error in formula how to track

  1. #1
    Registered User
    Join Date
    03-05-2019
    Location
    abudhabi
    MS-Off Ver
    2013
    Posts
    12

    error in formula how to track

    I used the below mentioned formula to sum the value if the chq date matches with the month mentioned in row 3 but I'm not able to get the required result attached is the draft


    =SUMPRODUCT(($R$20:$R$600="CHQ DATE")*(TEXT($V$20:$BQ$600,"YYYYMM")=TEXT(V$3,"YYYYMM")),$V$9:$BQ$599)

    Please let me know if the formula is wrong
    Attached Files Attached Files

  2. #2
    Forum Expert XLent's Avatar
    Join Date
    10-13-2010
    Location
    Northumberland, UK
    MS-Off Ver
    various
    Posts
    2,704

    Re: error in formula how to track

    as-is your SUMPRODUCT won't work given differences in the array dimensions, and current construct.

    can you clarify which row(s) you wish to aggregate where the chq date (month) matches that of the header month
    I don't believe it can be as written else it's circular (i.e. first calc resides in V9)

  3. #3
    Registered User
    Join Date
    03-05-2019
    Location
    abudhabi
    MS-Off Ver
    2013
    Posts
    12

    Re: error in formula how to track

    It was a typo actually I meant V19

    =SUMPRODUCT(($R$20:$R$600="CHQ DATE")*(TEXT($V$20:$BQ$600,"YYYYMM")=TEXT(V$3,"YYYYMM")),$V$19:$BQ$599)

    In R20 to R600 I run check for the string" CHQ DATE" when the string matches consider the YYYYMM and compare it with YYYYMM in Row 3 if matched the value in the cell above the matched cell will be added to the result

  4. #4
    Forum Expert XLent's Avatar
    Join Date
    10-13-2010
    Location
    Northumberland, UK
    MS-Off Ver
    various
    Posts
    2,704

    Re: error in formula how to track

    in which case the SUMPRODUCT is fine, e.g. if you have XL on manual calc, go to AH9 hit F2 + enter - you should get a number....

    however, it seems you have circular references which may be causing you issues on Auto Calc- eg. S216/AK216

    it's unclear if the circular references are desired, given references to Cash Flow this is possible, but just to reiterate the SUMPRODUCT, in and of itself, is fine.

+ 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. Formula to Track Where Up to Against a Target
    By Zapa7 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-21-2019, 11:54 PM
  2. Formula to track what tax year I am in
    By windpowerfinance in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-05-2017, 03:31 PM
  3. need formula to track machines down
    By Bashfulbill in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-16-2016, 11:04 PM
  4. VBA Error when using Auto Protect and Track changes at the same time?
    By itschevy in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-28-2013, 10:36 PM
  5. Excel 2007 : Formula to track dates - Help Please!
    By lkaew828 in forum Excel General
    Replies: 1
    Last Post: 01-31-2012, 03:43 PM
  6. Track formula changes
    By LAF in forum Excel General
    Replies: 9
    Last Post: 06-19-2009, 03:34 PM
  7. keep track of last code line before error
    By RB Smissaert in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 01-20-2006, 09:30 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