ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   max (https://www.excelbanter.com/excel-programming/362940-max.html)

Antonio

max
 
Cell A1 is named "max"

Formula in A1 is:
=IF(TOTAL_PORTFOLIO_VALUEmax,TOTAL_PORTFOLIO_VALU E,max)

this calculates the maximum Total Portfolio Value that is updated every
second with life market prices

The problem is that it has an implicit circular reference that I solve by
iteration.

Anybody knows of a different way to calculate the max without a circular
reference?

Thanks,

Antonio

Paul Lautman

max
 
Antonio wrote:
Cell A1 is named "max"

Formula in A1 is:
=IF(TOTAL_PORTFOLIO_VALUEmax,TOTAL_PORTFOLIO_VALU E,max)

this calculates the maximum Total Portfolio Value that is updated
every second with life market prices

The problem is that it has an implicit circular reference that I
solve by iteration.

Anybody knows of a different way to calculate the max without a
circular reference?

Thanks,

Antonio


Why is it a "problem"?



Antonio

max
 
The problem is twofold:

1. "Calculate" is permanently in the task bar. The spreadsheet is large and
complex with plenty of macros that turn calculation on and off and I do not
know for sure when I need to recalculate.

2. The iterations needed do slow down the calculation of the spreadsheet
(although I only do 2 iterations).

These are not major problems but the situation is not optimal.

Thanks,

Antonio

"Paul Lautman" wrote:

Antonio wrote:
Cell A1 is named "max"

Formula in A1 is:
=IF(TOTAL_PORTFOLIO_VALUEmax,TOTAL_PORTFOLIO_VALU E,max)

this calculates the maximum Total Portfolio Value that is updated
every second with life market prices

The problem is that it has an implicit circular reference that I
solve by iteration.

Anybody knows of a different way to calculate the max without a
circular reference?

Thanks,

Antonio


Why is it a "problem"?





All times are GMT +1. The time now is 04:33 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com