ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Display Last Value Calculated in Formula Range (https://www.excelbanter.com/excel-worksheet-functions/142554-display-last-value-calculated-formula-range.html)

sony654

Display Last Value Calculated in Formula Range
 
I would like to write a function that posts the the last value calculated in
a formula range. Cells d90:d93 post a calculation, or result in "-", if not
calculated. How do I write a function in cell d94 that posts the last
calculated value in cells d90:d93? For example if only cells d90 and d91
have values calculated, the value calculated in cell d91 will be posted in
cell d94. Thanks for your help. Sony
--
Sony Luvy

T. Valko

Display Last Value Calculated in Formula Range
 
Cells d90:d93 post a calculation, or result in "-", if not calculated.

I'm assuming calculated means a number is the result.

Try this:

=IF(COUNT(D90:D93),LOOKUP(99^99,D90:D93),"-")

Biff

"sony654" wrote in message
...
I would like to write a function that posts the the last value calculated
in
a formula range. Cells d90:d93 post a calculation, or result in "-", if
not
calculated. How do I write a function in cell d94 that posts the last
calculated value in cells d90:d93? For example if only cells d90 and d91
have values calculated, the value calculated in cell d91 will be posted in
cell d94. Thanks for your help. Sony
--
Sony Luvy





All times are GMT +1. The time now is 03:18 PM.

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