Excel Dynamic Arrays

Previews of dynamic arrays in Excel have been available for some time through the “Insider” programme.  They are now being published to general subscribers through Office 365 monthly updates:

Further information is given at:

Easier array formulas
and
Dynamic array formulas vs. legacy CSE array formulas

Most of my spreadsheets make extensive use of user defined functions (UDFs) that often return arrays of data, that up till now needed to be entered by selecting the output range and pressing Ctrl-Shift-Enter.  These “legacy” CSE functions continue to work as they did before, but if you want to change to using the new dynamic arrays the procedure is:

Select the entire output range of the CSE array.  Note that it displays in the edit line surrounded by {} :

Press F2 to edit, then convert the function to text by entering ‘ before the = sign, then enter with Ctrl-Shift-Enter:

Now delete the text from all the cells other than the top left:

Finally press F2, delete the ‘ to return the cell to an active function, and press enter (not Ctrl-Shift-Enter).  The entire array will now display:

Note that the function only occupies the top left cell.  You can enter data in any other cell of the array output range, but if you do the function will display as SPILL!:

As far as I know, there is no way to return part of an array using the new functionality, other than the top left cell, that can be returned with the Single() function.  Fortunately the old Ctrl-Shift-Enter method still works.

Posted in Arrays, Excel, UDFs | Tagged , , , , , | Leave a comment

Clive James and Pete Atkin

Following The Barrow Poets, more poetic music from the early 70’s:

Clive James finally succumbed to a long illness this week.  He was mainly known for his humorous work on TV and in writing, but he was also a prolific poet, and in his early career teamed up with Pete Atkin to produce musical versions of his work.  The sample below is from their first album, Beware the Beautiful Stranger:

Posted in Bach | Tagged , , | Leave a comment

Biaxial bending update

The reinforced concrete biaxial bending spreadsheet has now been updated:

  • Stress block and capacity reduction factors updated for AS 3600-2018
  • ACI factors for US customary units used when stress is entered in ksi or psi units
  • Example data updated

The revised spreadsheet is included in the file:

ULS Design Functions.zip

I have checked the spreadsheet results against a paper published by Enercalc:

Reinforced Concrete Columns in Biaxial Bending

Enercalc results:

ULS Design Functions-biax results:

After adjusting the Enercalc moments to the centroid of the uncracked concrete section, the results are in near exact agreement.

The results below compare the spreadsheet results with the simplified procedures given in AS 3600 and Eurocode 2, using a rectangular section and plotting moment capacity results under different axial loads:

The AS 3600 and Eurocode provisions for biaxial bending take exactly the same form:

The two codes give significantly different results however because:

  • In AS 3600 the Phi factor is defined as 0.65 for all axial loads, whereas the Eurocode uses the design Mux and Muy values for the applied axial load.
  • The definition of the exponent alpha is different, resulting in AS 3600 having a lower value for low axial loads, but a higher value for high axial loads.

For the purposes of comparison, the Eurocode Mx and My values used the design moment capacities under the applicable axial load to the AS 3600 rules.

For an axial load well below the balance load both codes have an alpha value of 1, resulting in conservative capacity values under biaxial loading.  The AS 3600 requirement to use a Phi factor of 0.65 results in a further substantial conservatism:

Increasing the axial load to close to the balance load increases the alpha values above 1, and brings the AS 3600 Phi factor down close to 0.65, reducing the conservatism of the simplified approach:

A further increase in the axial load increases the alpha value for AS 3600 to close to 2, so that the AS 3600 results are no longer conservative.  The Eurocode alpha value is lower, and it is still conservative:

A further increase in the axial load shows the same trend, with the AS 3600 results increasingly unconservative, and the Eurocode results closer to the detailed calculation, but still conservative:

For very high axial loads, where the base of the rectangular stress block is outside the concrete section, there is a large reduction in the moment capacity from the detailed calculation.  This is not reflected in the simplified method from either code, which both have an alpha value of 2 at these loads:

Further complications arise with non-rectangular sections:

In this case the simplified method from both codes gives results that are highly unconservative for some moment combinations, even for axial loads well below the design limit:

It should be noted that all calculations assumed a rectangular stress block to the AS 3600 code.  Use of a parabolic linear stress block would result in further significant reductions in the design moment capacity when the concrete compression zone was triangular.

Posted in Beam Bending, Concrete, Newton | Tagged , , , , , , , , | 35 Comments

International Keyboard Shortcut Day

Daily Dose of Excel is increasingly inaccurately named these days, but it still contains a wealth of information, and we get a new post on special occasions, such as:

International Keyboard Shortcut Day

Have a look for all the keyboard shortcuts you didn’t know/ had forgotten about.

 

Posted in Computing - general | Tagged , | Leave a comment

Two Assasinations

In 1975 John Fahey released an LP including the track “The Assassination of Stefan Grossman”:

Stefan Grossman responded in the only way possible, with the assassination of John Fahey:

Why John Fahey chose to assassinate Stefan Grossman in the first place, nobody knows, not even Stefan Grossman.

Posted in Bach | Tagged , , | Leave a comment