+ Reply to Thread
Results 1 to 23 of 23

How to store the lowest value that ever happens in a dynamic cell?

Hybrid View

ExcelNoob09 How to store the lowest value... 09-23-2018, 10:20 PM
FlameRetired Re: How to store the lowest... 09-23-2018, 10:29 PM
ExcelNoob09 Re: How to store the lowest... 09-23-2018, 10:37 PM
FlameRetired Re: How to store the lowest... 09-23-2018, 11:11 PM
ExcelNoob09 Re: How to store the lowest... 09-23-2018, 11:26 PM
FDibbins Re: How to store the lowest... 09-23-2018, 10:47 PM
ExcelNoob09 Re: How to store the lowest... 09-23-2018, 10:48 PM
FDibbins Re: How to store the lowest... 09-23-2018, 11:03 PM
ExcelNoob09 Hello, the values in the... 09-23-2018, 11:34 PM
FlameRetired Re: How to store the lowest... 09-23-2018, 11:37 PM
FlameRetired Re: How to store the lowest... 09-23-2018, 10:47 PM
ExcelNoob09 Re: How to store the lowest... 09-23-2018, 10:56 PM
FDibbins Re: How to store the lowest... 09-23-2018, 11:37 PM
ExcelNoob09 I just left the office for a... 09-23-2018, 11:39 PM
FDibbins Re: How to store the lowest... 09-23-2018, 11:57 PM
MrShorty Re: How to store the lowest... 09-24-2018, 12:14 AM
ExcelNoob09 Re: How to store the lowest... 09-24-2018, 03:44 AM
ExcelNoob09 Re: How to store the lowest... 09-24-2018, 04:27 AM
ExcelNoob09 Anyone has any idea? :) 09-24-2018, 12:32 PM
MrShorty Re: How to store the lowest... 09-24-2018, 01:10 PM
ExcelNoob09 Re: How to store the lowest... 09-24-2018, 09:38 PM
ExcelNoob09 Re: How to store the lowest... 09-24-2018, 10:55 PM
MrShorty Re: How to store the lowest... 09-24-2018, 11:29 PM
  1. #1
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP, 2007, 2024
    Posts
    16,373

    Re: How to store the lowest value that ever happens in a dynamic cell?

    I don't understand what is going wrong for you. Why can you not use AGGREGATE() in place of the MIN() function? My version of Excel does not have the AGGREGATE() function, so I cannot test, but it seems like =IF(A2<=0,1E9,AGGREGATE(5,6,A1,A2)) should work, and I cannot say why it does not (though I also cannot be sure if you tried it, either).
    If that really does not work, I could get this to work in my version of Excel =IF(A2<=0,1E9,MIN(IFERROR(A1,A2),A2)) where I use the IFERROR() function to trap the N/A errors that occasionally show up in A1 and ignore them. But it seems like AGGREGATE() should work just fine if you don't need backwards compatibility.
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  2. #2
    Registered User
    Join Date
    09-23-2018
    Location
    France
    MS-Off Ver
    2010
    Posts
    12

    Re: How to store the lowest value that ever happens in a dynamic cell?

    Quote Originally Posted by MrShorty View Post
    I don't understand what is going wrong for you. Why can you not use AGGREGATE() in place of the MIN() function? My version of Excel does not have the AGGREGATE() function, so I cannot test, but it seems like =IF(A2<=0,1E9,AGGREGATE(5,6,A1,A2)) should work, and I cannot say why it does not (though I also cannot be sure if you tried it, either).
    If that really does not work, I could get this to work in my version of Excel =IF(A2<=0,1E9,MIN(IFERROR(A1,A2),A2)) where I use the IFERROR() function to trap the N/A errors that occasionally show up in A1 and ignore them. But it seems like AGGREGATE() should work just fine if you don't need backwards compatibility.
    Hi MrShorty,

    Thank you for trying to help me out with this, i tried your following 2 solutions, however it doesnt work, errors explained below:

    Formula 1:
    =IF(A2<=0,1E9,AGGREGATE(5,6,A1,A2))

    Error:
    The Target cell (A2) to store the MIN value always shows the most recent number that comes into the dynamic cell. I notice that the number in the target cell (A2) goes blank when the #N/A error shows in the dynamic cell during the millisecond data draw from the server. The MAX function does not exhibit this behaviour.


    Formula 2:
    =IF(A2<=0,1E9,MIN(IFERROR(A1,A2),A2))

    Error:
    During the data draw phase when the #N/A shows in the dynamic cell (A1), the target cell (A2) also shows the #N/A error and it get stuck in there forever.
    Could there be an error in the formula?

    Apologies for being a noob. Any other advise?

    I hope i can find a solution to this

  3. #3
    Registered User
    Join Date
    09-23-2018
    Location
    France
    MS-Off Ver
    2010
    Posts
    12

    Re: How to store the lowest value that ever happens in a dynamic cell?

    OK Update:

    I Finally got this to work with an inelegant workaround.

    In Short, i used MrShorty's Formula to reset the circular referencing for the Target cell (A2):

    Formula for Target Cell (A2):
    =IF(A2<=0,1E9,AGGREGATE(5,6,A1,A2))


    Followed by an insertion of a formula to IGNORE the #N/A errors in the Dynamic Cell (A1)

    Formula:
    =IFERROR(Original Formula, "")

    This will cause the #N/A error to show as a blank in (A1) when the server draws the info from the API, which is mitigated by MrShorty's previous formula to ignore 0s in the target cell (A2).

    This drove me crazy for days.

    It Works for me and i hope this solution will cut short the pain for others as well.

+ 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. Create a offline html dynamic form and store answer at Excel
    By Judith_Chao in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-02-2018, 02:12 AM
  2. How to store query data into dynamic array?
    By VAer in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-30-2018, 10:11 AM
  3. Dynamic Table of Store/Bank with location assignment (Dynamic Inventory)
    By x_ampl1 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-14-2017, 01:58 PM
  4. Store/Bank Inventory with Location Dynamic Table
    By x_ampl1 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 09-24-2017, 05:23 AM
  5. [SOLVED] Dynamic Changing Data, Based on Criteria Store in Array, Sum array and store in Cell
    By penbeacho in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-28-2015, 10:31 AM
  6. How to store the value of a dynamic cell
    By bric2007 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-13-2015, 11:57 AM
  7. [SOLVED] How to store the value of a dynamic cell on a fixed cell
    By bric2007 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 02-10-2015, 12:17 AM

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