Jump to content

Tidbit:CSE functions in Excel: Difference between revisions

From Squirrel's Lair
Ttenbergen (talk | contribs)
Created page with "CSE functions (aka [https://support.microsoft.com/en-us/office/video-array-formulas-8ff8257a-b28e-4e81-b4f8-30f793412dfa array formulas]) in Excel are functions that apply across a range of cells to aggregate the result in once cell. CSE functions are applied when a function is entered into the cell, and instead of leaving the cell pressing the enter key, it is left by pressing ctrl-shift-enter (hence the CSE name). The functions are useful for generating lists of va..."
 
Ttenbergen (talk | contribs)
mNo edit summary
Line 1: Line 1:
CSE functions (aka [https://support.microsoft.com/en-us/office/video-array-formulas-8ff8257a-b28e-4e81-b4f8-30f793412dfa array formulas]) in Excel are functions that apply across a range of cells to aggregate the result in once cell.  
CSE functions (aka [https://support.microsoft.com/en-us/office/video-array-formulas-8ff8257a-b28e-4e81-b4f8-30f793412dfa array formulas]) in Excel are functions that apply across a range of cells to aggregate the result in once cell.


CSE functions are applied when a function is entered into the cell, and instead of leaving the cell pressing the enter key, it is left by pressing ctrl-shift-enter (hence the CSE name).  
CSE functions are applied when a function is entered into the cell, and instead of leaving the cell pressing the enter key, it is left by pressing ctrl-shift-enter (hence the CSE name).  
Line 5: Line 5:
The functions are useful for generating lists of values in a single cell.  
The functions are useful for generating lists of values in a single cell.  


For example, a CSE function could be used to generate a semicolon separated list of email addresses based on a column of email addresses and a second column that is used as the filter.
For example, a CSE function could be used to generate a semicolon separated list of email addresses based on a column of email addresses and a second column that is used as the filter.  
 
This table contains the 4 bottom rows of data. Entering the formula <nowiki><code>CONCAT(IF(B$2:B$5>"",A$1:A$5 & "; ","")) </code></nowiki> into the top right cell and then clicking ctrl-shift-enter will populate the cell as seen here.
{| class="wikitable"
|+
|
|A
|B
|-
|1
|
|a@b.ca; d@b.ca;
|-
|2
|a@b.ca
|x
|-
|3
|b@b.ca
|
|-
|4
|c@b.ca
|
|-
|5
|d@b.ca
|y
|}

Revision as of 17:32, 2023 February 18

CSE functions (aka array formulas) in Excel are functions that apply across a range of cells to aggregate the result in once cell.

CSE functions are applied when a function is entered into the cell, and instead of leaving the cell pressing the enter key, it is left by pressing ctrl-shift-enter (hence the CSE name).

The functions are useful for generating lists of values in a single cell.

For example, a CSE function could be used to generate a semicolon separated list of email addresses based on a column of email addresses and a second column that is used as the filter.

This table contains the 4 bottom rows of data. Entering the formula <code>CONCAT(IF(B$2:B$5>"",A$1:A$5 & "; ","")) </code> into the top right cell and then clicking ctrl-shift-enter will populate the cell as seen here.

A B
1 a@b.ca; d@b.ca;
2 a@b.ca x
3 b@b.ca
4 c@b.ca
5 d@b.ca y