+ Reply to Thread
Results 1 to 3 of 3

Array formula evaluates correctly but doesn't populate cell

  1. #1
    Forum Contributor
    Join Date
    06-22-2011
    Location
    somerset
    MS-Off Ver
    365
    Posts
    328

    Array formula evaluates correctly but doesn't populate cell

    I have the following formula in a column called required lead time.
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    What it should do is look at the table of drawing numbers compare that to it's parents list and where there is a match return the lead time number then take the maximum of those.
    I have tested it on a dummy sheet and it worked.
    on my main sheet though I can step into the evaluation and step by step everything goes correctly yet it still returns 0 no matter the inputs to the final iferror e.g. =IFERROR(32,0) becomes 0
    Sub Reputation()
    Dim Problem as Variant
    Dim Reputation as Integer
    For Each Problem in Forum.Threads
        If Problem.Title = "*[Solved]*" and Solver.Name = "Leon V (AW)" Then Reputation = Reputation + 1
    Next Problem
    End Sub

  2. #2
    Registered User
    Join Date
    06-21-2017
    Location
    Missouri, USA
    MS-Off Ver
    2007 through 2019
    Posts
    71

    Re: Array formula evaluates correctly but doesn't populate cell

    I don't use arrays very much, but I think the Iferror has to be inside the Max formula to work with the array. AbleBits has an entry about Iferror function and it shows a simple Sum formula with the Iferror inside the Sum. Maybe worth a try...?
    https://www.ablebits.com/office-addi...array-formulas

  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,805

    Re: Array formula evaluates correctly but doesn't populate cell

    The only way for us to really answer the question is to provide a workbook.
    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.

+ 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. [SOLVED] Formula doesn't work correctly
    By Chris McGlothen in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-20-2016, 07:28 PM
  2. IFERROR evaluates correctly but returns incorrect data
    By Curandero3224 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 07-05-2016, 04:33 AM
  3. [SOLVED] Only 1st condition of multiple IF conditions evaluates correctly
    By goodmma in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-23-2014, 02:12 PM
  4. UserForm2 doesn't pull up any values on comboboxes or populate correctly.
    By enderoos in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-20-2014, 12:18 PM
  5. Replies: 3
    Last Post: 07-01-2013, 03:44 PM
  6. Replies: 5
    Last Post: 05-07-2013, 08:34 AM
  7. Simplifying array formula which evaluates as error.
    By Richard Buttrey in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-29-2005, 10:05 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