How to create a number series within an array formula

Luthius

Active Member
Joined
Apr 5, 2011
Messages
324
How to create a number series within an array formula, I mean, the series starts with 1 and will finish with 8 for example;
{1;2;3;4;5;6;7;8} - It will be the result within my array formula.
In Aij matrix means i=1 to 8 {i+1;i+1;i+1;i+1;i+1;i+1;i+1;i+1}.
I need to retrieve it within an array formula.

How can I do that just using an array formula.

7fdf632d44a8ef9367d98ef891c14173.png


Luthius
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
Give examples of your data, and explain what you are trying to achieve.
 
Upvote 0
The interesting here is that I just want get a serie within an array formula. Sometimes we need a series to solve some problems.
 
Upvote 0
Wow,
that's it. But I have a doubt.
Why the "--" before the LIN() formula?

Thanks for your answer.

Luthius
 
Upvote 0
Hi

Habit mainly and the fact that the sheet I was developing at that time had many instances of the "SUMPRODUCT(--(" construct.

Can be used without the -- in this case.

hth
 
Upvote 0
Ok, I tested without "--" and it works too.

Well, almost of all times I saw the "SUMPRODUCT(--" with '--', and I don't know the reason of it.
 
Upvote 0

Forum statistics

Threads
1,224,517
Messages
6,179,233
Members
452,898
Latest member
Capolavoro009

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top