ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Excel multiline formulas (https://www.excelbanter.com/excel-worksheet-functions/54433-excel-multiline-formulas.html)

s05ullivan

Excel multiline formulas
 
Add Cell local variables. Allow a cell to have multiline formulas, which can
speed up calculations such as those that use large SUMPRODUCT() queries.

For example, instead of :
=if(SUM('DO 4 MDSE:Blank'!C4),SUM('DO 4 MDSE:Blank'!C4),NA())

allow:
;TempVar=SUM('DO 4 MDSE:Blank'!C4);=If (TempVar, TempVar, NA())


----------------
This post is a suggestion for Microsoft, and Microsoft responds to the
suggestions with the most votes. To vote for this suggestion, click the "I
Agree" button in the message pane. If you do not see the button, follow this
link to open the suggestion in the Microsoft Web-based Newsreader and then
click "I Agree" in the message pane.

http://www.microsoft.com/office/comm...et.f unctions

Rowan Drummond

Excel multiline formulas
 
Try InsertNameDefine, Names in Workbook - TempVar, Refres to -
=SUM('DO 4 MDSE:Blank'!$C$4).
Now you can use TempVar in a formula as you have requested.
PS the $ signs are important.

Regards
Rowan

s05ullivan wrote:
Add Cell local variables. Allow a cell to have multiline formulas, which can
speed up calculations such as those that use large SUMPRODUCT() queries.

For example, instead of :
=if(SUM('DO 4 MDSE:Blank'!C4),SUM('DO 4 MDSE:Blank'!C4),NA())

allow:
;TempVar=SUM('DO 4 MDSE:Blank'!C4);=If (TempVar, TempVar, NA())


----------------
This post is a suggestion for Microsoft, and Microsoft responds to the
suggestions with the most votes. To vote for this suggestion, click the "I
Agree" button in the message pane. If you do not see the button, follow this
link to open the suggestion in the Microsoft Web-based Newsreader and then
click "I Agree" in the message pane.

http://www.microsoft.com/office/comm...et.f unctions



All times are GMT +1. The time now is 04:50 PM.

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