ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Help to condense a formula (https://www.excelbanter.com/excel-worksheet-functions/33151-help-condense-formula.html)

GerryK

Help to condense a formula
 
Is there a better way to express the following formula?
I'm in the process of upgrading an old spreadsheet and will have to increase
the future range in a more efficient manner than stated, but am having
trouble!

=IF(AND(ISNUMBER(Y679),ISNUMBER(Y680),ISNUMBER(Y68 1),ISNUMBER(Y682),ISNUMBER(Y683),ISNUMBER(Y684),IS NUMBER(Y685),ISNUMBER(Y686),ISNUMBER(Y687),ISNUMBE R(Y688)),Y679+Y680+Y681+Y682+Y683+Y684+Y685+Y686+Y 687+Y688,"not available")

TIA

N Harkawat

=if(count(y679:y688)=10,sum(y679:y688),"not available")

"GerryK" wrote in message
...
Is there a better way to express the following formula?
I'm in the process of upgrading an old spreadsheet and will have to
increase
the future range in a more efficient manner than stated, but am having
trouble!

=IF(AND(ISNUMBER(Y679),ISNUMBER(Y680),ISNUMBER(Y68 1),ISNUMBER(Y682),ISNUMBER(Y683),ISNUMBER(Y684),IS NUMBER(Y685),ISNUMBER(Y686),ISNUMBER(Y687),ISNUMBE R(Y688)),Y679+Y680+Y681+Y682+Y683+Y684+Y685+Y686+Y 687+Y688,"not
available")

TIA





All times are GMT +1. The time now is 08:44 PM.

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