+ Reply to Thread
Results 1 to 3 of 3

Create array multiple parts

  1. #1
    Registered User
    Join Date
    08-29-2018
    Location
    Delft
    MS-Off Ver
    Excel 2013
    Posts
    8

    Create array multiple parts

    Hi,

    I want to make an array containing two 'parts'; I would like to obtain the following row of numbers: (2:N-2,N), so if N = 6 the row would be: (2,3,4,6). I found a formula which can make the first part of the row: =ROW(INDIRECT("2:" &N-2)). How can I add the last number of the row?

    Thanks in advance!

    Michiel
    Attached Files Attached Files
    Last edited by Michielb; 08-29-2018 at 09:05 AM.

  2. #2
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: Create array multiple parts

    try
    =ROW(INDIRECT("2:"&N-1))+(ROW(INDIRECT("2:"&N-1))=N-1)
    or
    =ROW(INDIRECT("2:"&B1-1))+(ROW(INDIRECT("2:"&B1-1))=B1-1)
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  3. #3
    Registered User
    Join Date
    08-29-2018
    Location
    Delft
    MS-Off Ver
    Excel 2013
    Posts
    8

    Re: Create array multiple parts

    That's it, thanks!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] create a sub array with multiple criteria
    By mfhxilc2 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-08-2018, 08:38 PM
  2. Create list with multiple criterias from array
    By heybella in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-08-2018, 11:46 AM
  3. VBA extract certain parts of array
    By batchjb69 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 10-29-2017, 10:22 AM
  4. [SOLVED] How to create array set for checking multiple workbook
    By Faridwahidi in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 06-05-2014, 09:40 PM
  5. Adding different parts of a growing array.
    By Fisticuffs in forum Excel General
    Replies: 0
    Last Post: 05-07-2011, 02:55 PM
  6. How to define an array in multiple parts (eg. for the function correl)
    By Smirgelius in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-10-2008, 01:13 AM
  7. Totalling Sum of Parts in a 2 column array.
    By steev_jd in forum Excel General
    Replies: 2
    Last Post: 04-26-2006, 10:25 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1