Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
How do you know when to use ctrl+shift+enter to create an array formula vs
just hitting enter? |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
It mostly comes with experience.
See if this helps: http://www.cpearson.com/Excel/ArrayFormulas.aspx -- Biff Microsoft Excel MVP "Jon Dow" wrote in message ... How do you know when to use ctrl+shift+enter to create an array formula vs just hitting enter? |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
An Array formula always need Ctrl+shift+enter.
So what are array formula? a) if the formula returns more than one value (formula using functions like LINEST, FREQUENCY, etc come to mine) must be entered as an array. and b) when you use an 'ordinary function but add something that makes an array of data. For example =AVERAGE(IF(A1:A50,A1:A5,FALSE)). The IF generates an array of five values. If you enter this with just Enter you get a #Value! error. Note that using Ctrl+shift+enter when a simple Enter is needed has not dreadful effect. So the formula SUM(A1:A10) gives the same answer with either form of commitment. Chip has lots on array formulas at http://www.cpearson.com/excel/ArrayFormulas.aspx best wishes -- Bernard V Liengme Microsoft Excel MVP http://people.stfx.ca/bliengme remove caps from email "Jon Dow" wrote in message ... How do you know when to use ctrl+shift+enter to create an array formula vs just hitting enter? |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
"Bernard Liengme" wrote...
.... So what are array formula? a) if the formula returns more than one value (formula using functions like LINEST, FREQUENCY, etc come to mine) must be entered as an array. Any formula that would return multiple values needs to be entered INTO A MULTIPLE CELL RANGE as an array formula, e.g., ={0,1,2,3,4,5}*{0;1;2;3;4;5}. b) when you use an 'ordinary function but add something that makes an array of data. For example =AVERAGE(IF(A1:A50,A1:A5,FALSE)). The IF generates an array of five values. If you enter this with just Enter you get a #Value! error. .... OK, but try =AVERAGE(IF({0;1;2;3;4;5}2,{0;1;2;3;4;5})) It's A LOT MORE SUBTLE AND COMPLICATED than you've put it. A better but still incomplete rule of thumb is that most (but not all) formulas that use single are multiple cell ranges where single cells or values would normally be used require array entry, but formulas using array constants as the only multiple value arguments usually don't require array entry in formulas that would always return single values, e.g., AVERAGE, SUM, MAX, MIN. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
array formulas | Excel Discussion (Misc queries) | |||
Formulas with-an an array | Excel Worksheet Functions | |||
Array Formulas | Excel Worksheet Functions | |||
array formulas | Excel Worksheet Functions | |||
Array formulas | Excel Worksheet Functions |