+ Reply to Thread
Results 1 to 5 of 5

Why is my formula returning a zero ?

  1. #1
    Registered User
    Join Date
    06-21-2023
    Location
    London, England
    MS-Off Ver
    Microsoft? Excel? 2019 MSO (Version 2403 Build 16.0.17425.20176) 64-bit
    Posts
    21

    Why is my formula returning a zero ?

    Hi,

    I have a fomuala that randomly generates a value, that is taken from another list.

    The excel sheet will not generate any new values past the 1st June.

    When I intially past the formula in, it generates a value. After this, if I click on a cell past the 1st June, the cell returns a "0" rather than adate.

    Is there any obvious cause of this ? I am using Microsoft Excel online

    The formula is

    =INDEX($BB:$BB,AGGREGATE(15,6,ROW($BB$8:$BB$43)/(COUNTIF($M124:$AW124,$BB$8:$BB$43)=0)/(COUNTIF($B124:F124,$BB$8:$BB$43)=0)/(COUNTIF($G$2:$G123,$BB$8:$BB$43)<$BG$52),RANDBETWEEN(1,COUNT(1/(COUNTIF($M124:$AW124,$BB$8:$BB$43)=0)/(COUNTIF($B124:F124,$BB$8:$BB$43)=0)/(COUNTIF($G$2:$G123,$BB$8:$BB$43)<$BG$52)))))



    Thanks.
    Last edited by rg268; 12-25-2023 at 07:32 PM.

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Why is my formula returning a zero ?

    We have not the faintest hope of answering a question about a formula without seeing the formula.

    Happy Christmas!
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Registered User
    Join Date
    06-21-2023
    Location
    London, England
    MS-Off Ver
    Microsoft? Excel? 2019 MSO (Version 2403 Build 16.0.17425.20176) 64-bit
    Posts
    21

    Re: Why is my formula returning a zero ?

    The formula is

    =INDEX($BB:$BB,AGGREGATE(15,6,ROW($BB$8:$BB$43)/(COUNTIF($M124:$AW124,$BB$8:$BB$43)=0)/(COUNTIF($B124:F124,$BB$8:$BB$43)=0)/(COUNTIF($G$2:$G123,$BB$8:$BB$43)<$BG$52),RANDBETWEEN(1,COUNT(1/(COUNTIF($M124:$AW124,$BB$8:$BB$43)=0)/(COUNTIF($B124:F124,$BB$8:$BB$43)=0)/(COUNTIF($G$2:$G123,$BB$8:$BB$43)<$BG$52)))))

    Thank you!

  4. #4
    Registered User
    Join Date
    06-21-2023
    Location
    London, England
    MS-Off Ver
    Microsoft? Excel? 2019 MSO (Version 2403 Build 16.0.17425.20176) 64-bit
    Posts
    21

    Re: Why is my formula returning a zero ?

    I have worked it out after ages. There was a circular reference in there. Please lock the thread/delete! Thanks

  5. #5
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Why is my formula returning a zero ?

    If your question is solved please mark your thread as "Solved" so that members will know by looking at the thread title that your problem is solved. Go to the menu immediately above your first post to the thread and click on Thread Tools. From the dropdown menu select "Mark this thread as solved..."

+ 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. IFS / IF formula not returning values based on logic within the formula
    By GMC-ZH in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-29-2022, 05:28 PM
  2. Replies: 1
    Last Post: 11-28-2020, 11:37 AM
  3. [SOLVED] Excel Formula returning True Value for False Formula
    By bvercher in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-03-2015, 09:10 AM
  4. Lookup a formula & calulate as formula instead of returning text
    By eclair21 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 12-14-2014, 04:33 PM
  5. [SOLVED] Formula returning a false value when origin cell contains a formula
    By ensmith in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 09-04-2013, 01:42 PM
  6. [SOLVED] Stumped with Formula Array returning cell adjacent to formula dataset
    By Giles_Silver in forum Excel General
    Replies: 5
    Last Post: 06-04-2012, 12:18 AM
  7. Formula sometimes returning correct answer and sometimes returning 0
    By redimp in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-09-2010, 06:28 AM

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