+ Reply to Thread
Results 1 to 13 of 13

Array formula suddenly stops working

  1. #1
    Forum Contributor
    Join Date
    07-06-2020
    Location
    zimbabwe
    MS-Off Ver
    Excel 365
    Posts
    478

    Array formula suddenly stops working

    This formula A16=IFERROR(INDEX(INDEX($A$4:$H$17,,MATCH(A$29,$A$3:$H$3,0)),SMALL(IF(MONTH($A$4:$A$17)=MONTH($D$25),IF($C$4:$C$17<>"",ROW(A$4:A$17)-ROW(A$4)+1)),ROWS($A$4:A4))),"")

    suddenly stopped working in the whole worksheet. I tried everything including turning on auto calculate but nothing changed.

    Please I'm asking for help, I'm very stressed.

    Regards,

    Sunboy

  2. #2
    Valued Forum Contributor Eastw00d's Avatar
    Join Date
    02-29-2020
    Location
    Breda, NL
    MS-Off Ver
    2016, 2019
    Posts
    833

    Re: Array formula suddenly stops working

    This is because when you put this formula in A16, you get a circular reference, as your Index is pointing to A17..H17

    Cheers
    Erwin
    I started learning VBA because I was lazy ...
    Still developing.... being more lazy...

  3. #3
    Forum Contributor
    Join Date
    07-06-2020
    Location
    zimbabwe
    MS-Off Ver
    Excel 365
    Posts
    478

    Re: Array formula suddenly stops working

    Please find the attached sample and see why is used A16. A16 is a drop down list for months.

    Regards,

    Sunboy
    Attached Files Attached Files

  4. #4
    Valued Forum Contributor Eastw00d's Avatar
    Join Date
    02-29-2020
    Location
    Breda, NL
    MS-Off Ver
    2016, 2019
    Posts
    833

    Re: Array formula suddenly stops working

    Well to be frank, I don't see any dropdown list, but that doesn't matter.
    I assume you want to apply this formula in the two tables below the ledger.

    I don't see the need for the double index, and the cells that are referred to, are empty (like D25). Above all, I hope you do know that this is an arrayfunction to be entered als Control-Shift-Enter?
    Here's the function again, a little simplified, for the VAT-number column:
    Please Login or Register  to view this content.
    where D$29 is the header-name as in your table, mind you, they must be the same!
    So you can copy this formula to the other columns as long as the headers are the same.

    Cheers
    Erwin
    Last edited by Eastw00d; 07-29-2020 at 02:03 AM. Reason: Adjusted Formula

  5. #5
    Forum Contributor
    Join Date
    07-06-2020
    Location
    zimbabwe
    MS-Off Ver
    Excel 365
    Posts
    478

    Re: Array formula suddenly stops working

    Still struggling to make work. Please the attached sample.

    Regards,


    Sunboy

  6. #6
    Forum Contributor
    Join Date
    07-06-2020
    Location
    zimbabwe
    MS-Off Ver
    Excel 365
    Posts
    478

    Re: Array formula suddenly stops working

    Hi find the attached sheet,
    Attached Files Attached Files

  7. #7
    Valued Forum Contributor Eastw00d's Avatar
    Join Date
    02-29-2020
    Location
    Breda, NL
    MS-Off Ver
    2016, 2019
    Posts
    833

    Re: Array formula suddenly stops working

    I can see only that in the sheet Sales Journal the formula's in columns I and J are not correct. It must be:
    Please Login or Register  to view this content.
    Cheers
    Erwin

  8. #8
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,438

    Re: Array formula suddenly stops working

    It does not report row 6 of 'sales journal' because the Vat number is empty.

    Note: having noticed you posted 2 different workbooks with potential different questions in I doubt my input is relevant.
    Last edited by Andy Pope; 07-29-2020 at 09:10 AM.
    Cheers
    Andy
    www.andypope.info

  9. #9
    Forum Contributor
    Join Date
    07-06-2020
    Location
    zimbabwe
    MS-Off Ver
    Excel 365
    Posts
    478

    Re: Array formula suddenly stops working

    It is VAR report so it only report those that have VAT number.

  10. #10
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,438

    Re: Array formula suddenly stops working

    Okay, and the VAT statement workbook appears to be working, so what does 'suddenly stopped working in the whole worksheet' mean exactly?

  11. #11
    Valued Forum Contributor Eastw00d's Avatar
    Join Date
    02-29-2020
    Location
    Breda, NL
    MS-Off Ver
    2016, 2019
    Posts
    833

    Re: Array formula suddenly stops working

    I can give only one "improvement", in order that you don't have to input as CSE (Array-formula), but as a normal formula:
    Please Login or Register  to view this content.
    Cheers
    Erwin

  12. #12
    Forum Contributor
    Join Date
    07-06-2020
    Location
    zimbabwe
    MS-Off Ver
    Excel 365
    Posts
    478

    Re: Array formula suddenly stops working

    HI Erwin

    I'm trying your formula but confused by Aggregate 15,6. Which is this range?

    Thank you.

  13. #13
    Valued Forum Contributor Eastw00d's Avatar
    Join Date
    02-29-2020
    Location
    Breda, NL
    MS-Off Ver
    2016, 2019
    Posts
    833

    Re: Array formula suddenly stops working

    it is not a range: AGGREGATE is a multifunctional function, where 15 is the function number, stands for SMALL and 6 omits all the errors within the results of the function.

    Cheers
    Erwin

+ 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 was working fine and suddenly is returning a N/A
    By jphilipson in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-29-2019, 01:21 AM
  2. [SOLVED] Array formula suddenly stopped working
    By stock11r in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 02-09-2016, 06:13 PM
  3. [SOLVED] Formula Suddenly Stopped Working?
    By nesbensen in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-26-2015, 02:28 PM
  4. Replies: 3
    Last Post: 05-03-2013, 02:05 PM
  5. [SOLVED] SUMIFS suddenly returns zero values/stops working for 2013 date ranges
    By KShuff in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-07-2013, 03:53 PM
  6. Macro suddenly stops working
    By Ahoette01 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-02-2010, 05:58 PM
  7. Sum formula stops working
    By kvfelton in forum Excel General
    Replies: 3
    Last Post: 01-10-2005, 08:57 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