Date: 11/02/2024 18:49:57
From: KJW
ID: 2124231
Subject: Excel Question: "@" in Formulae

Where I work, they’ve recently upgraded Office from 2016 to 365. One difference I’ve encountered in Excel is that “@” is placed in front of some functions. I’ve written formulae in which I’ve been prompted to change with regards to the inclusion of “@” because my formulae (without the “@”) might not work in older versions of Excel. Is there anyone here familiar with the newer versions of Excel that may care to explain what the “@” is about?

Reply Quote

Date: 11/02/2024 19:05:17
From: dv
ID: 2124237
Subject: re: Excel Question: "@" in Formulae

Man Idk, I only use Libre now

Reply Quote

Date: 11/02/2024 19:13:25
From: KJW
ID: 2124244
Subject: re: Excel Question: "@" in Formulae

dv said:


Man Idk, I only use Libre now

At home, I’m still using Office 2010. I’m not keen to upgrade from that. I hated the online-only Help for Office 2016.

Reply Quote

Date: 11/02/2024 19:56:32
From: The Rev Dodgson
ID: 2124270
Subject: re: Excel Question: "@" in Formulae

It’s associated with array functions, that you used to have to enter with ctrl-shift-enter, but now it returns the whole array when you just press enter.

I forget exactly what the @ does though, I’ll go and look it up.

Reply Quote

Date: 11/02/2024 20:02:16
From: The Rev Dodgson
ID: 2124272
Subject: re: Excel Question: "@" in Formulae

The Rev Dodgson said:


It’s associated with array functions, that you used to have to enter with ctrl-shift-enter, but now it returns the whole array when you just press enter.

I forget exactly what the @ does though, I’ll go and look it up.

The Internet says:

The sign is used to prevent the new default array behavior of a function if it is not wanted in that particular formula. If the same workbook is opened in a non DA version of Excel, it will not be visible. If the sign is entered into non DA versions of Excel, it will silently be removed when the formula is confirmed into the cell.
microsoft excel – @ in the beginning of a formula – Super User
superuser.com/questions/1471013/in-the-beginning-of-a-formula

Reply Quote

Date: 11/02/2024 20:03:55
From: The Rev Dodgson
ID: 2124273
Subject: re: Excel Question: "@" in Formulae

dv said:


Man Idk, I only use Libre now

A lot of work to transfer all your VBA to Libre Basic though.

Reply Quote

Date: 11/02/2024 20:15:43
From: The Rev Dodgson
ID: 2124277
Subject: re: Excel Question: "@" in Formulae

The Rev Dodgson said:


The Rev Dodgson said:

It’s associated with array functions, that you used to have to enter with ctrl-shift-enter, but now it returns the whole array when you just press enter.

I forget exactly what the @ does though, I’ll go and look it up.

The Internet says:

The sign is used to prevent the new default array behavior of a function if it is not wanted in that particular formula. If the same workbook is opened in a non DA version of Excel, it will not be visible. If the sign is entered into non DA versions of Excel, it will silently be removed when the formula is confirmed into the cell.
microsoft excel – @ in the beginning of a formula – Super User
superuser.com/questions/1471013/in-the-beginning-of-a-formula

So in the latest versions of Excel:

If you want to return the full array – press enter
If you want to return the top left cell only – start the function with =@
If you want to return a selected range – select the range you want, press F2 then Ctrl-Shift-Enter.

Reply Quote

Date: 16/02/2024 22:50:54
From: KJW
ID: 2126200
Subject: re: Excel Question: "@" in Formulae

The Rev Dodgson said:


The Rev Dodgson said:

The Internet says:

The sign is used to prevent the new default array behavior of a function if it is not wanted in that particular formula. If the same workbook is opened in a non DA version of Excel, it will not be visible. If the sign is entered into non DA versions of Excel, it will silently be removed when the formula is confirmed into the cell.
microsoft excel – @ in the beginning of a formula – Super User
superuser.com/questions/1471013/in-the-beginning-of-a-formula


So in the latest versions of Excel:

If you want to return the full array – press enter
If you want to return the top left cell only – start the function with =@
If you want to return a selected range – select the range you want, press F2 then Ctrl-Shift-Enter.

Thanks.

With regards to spreadsheet formulae (not VBA), what are dynamic arrays?

Reply Quote

Date: 16/02/2024 23:57:42
From: KJW
ID: 2126230
Subject: re: Excel Question: "@" in Formulae

KJW said:

With regards to spreadsheet formulae (not VBA), what are dynamic arrays?

Actually, I have just been reading what Microsoft have written about the topic of dynamic arrays. It represents a major development in what a spreadsheet formula can do: write to other cells… something that not even user-defined functions written in VBA could do in older versions of Excel.

Reply Quote

Date: 17/02/2024 08:22:03
From: The Rev Dodgson
ID: 2126271
Subject: re: Excel Question: "@" in Formulae

KJW said:


The Rev Dodgson said:

The Rev Dodgson said:

The Internet says:

The sign is used to prevent the new default array behavior of a function if it is not wanted in that particular formula. If the same workbook is opened in a non DA version of Excel, it will not be visible. If the sign is entered into non DA versions of Excel, it will silently be removed when the formula is confirmed into the cell.
microsoft excel – @ in the beginning of a formula – Super User
superuser.com/questions/1471013/in-the-beginning-of-a-formula


So in the latest versions of Excel:

If you want to return the full array – press enter
If you want to return the top left cell only – start the function with =@
If you want to return a selected range – select the range you want, press F2 then Ctrl-Shift-Enter.

Thanks.

With regards to spreadsheet formulae (not VBA), what are dynamic arrays?

Any function that returns an array will now return the full array when entered with just the enter key. For instance:

=TRANSPOSE

returns the full transposed array, or (I have just discovered):

=INDEX

returns the first four columns of the second row of the selected range.

Reply Quote

Date: 17/02/2024 08:31:03
From: The Rev Dodgson
ID: 2126272
Subject: re: Excel Question: "@" in Formulae

KJW said:


KJW said:
With regards to spreadsheet formulae (not VBA), what are dynamic arrays?

Actually, I have just been reading what Microsoft have written about the topic of dynamic arrays. It represents a major development in what a spreadsheet formula can do: write to other cells… something that not even user-defined functions written in VBA could do in older versions of Excel.

They could, you had to select the output range and enter with Ctrl-shift-enter. But the output range was then fixed. It could easily be extended, but there was no easy way to reduce the array size (other than writing a macro to do it).

Reply Quote