+ Reply to Thread
Results 1 to 4 of 4

How to index all the values from an array

  1. #1
    Registered User
    Join Date
    08-29-2013
    Location
    new york, new york
    MS-Off Ver
    Excel 2013
    Posts
    76

    How to index all the values from an array

    Lets say in Worksheet 1, Colum A, I have the following:

    Blue
    Red
    Green
    Orange
    Purple
    Violet

    and I called that Range "Colors"

    On worksheet 2, what formula do I use if I want to create a list of all the values from "Colors" and have them appear in worksheet 2 when I drag it down.

    I dont want to simply write that worksheet2A1 = worksheet1A1

    I want a formula I can always use somewhere that will return all the values from Colors

  2. #2
    Forum Expert dosydos's Avatar
    Join Date
    12-09-2015
    Location
    MA, USA
    MS-Off Ver
    365(PC) V:2412
    Posts
    1,477

    Re: How to index all the values from an array

    you could do something like:
    =INDEX(colors,ROW(1:1))
    <----- If you are happy with your solution please click on the "* Add Reputation" as a way to say thank you.

  3. #3
    Registered User
    Join Date
    08-29-2013
    Location
    new york, new york
    MS-Off Ver
    Excel 2013
    Posts
    76

    Re: How to index all the values from an array

    Quote Originally Posted by dosydos View Post
    you could do something like:
    =INDEX(colors,ROW(1:1))
    Great thank you that worked very well.

    Last question, is there a way to alphabetize the list using this same method?

  4. #4
    Forum Expert dosydos's Avatar
    Join Date
    12-09-2015
    Location
    MA, USA
    MS-Off Ver
    365(PC) V:2412
    Posts
    1,477

    Re: How to index all the values from an array

    if you have excel 365 then you can use the SORT() function.
    Otherwise you probably need to go to your source data and alphabetize it there by making the data a table perhaps.

+ 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. Index Match for multiple values in array
    By Raehan in forum Excel Formulas & Functions
    Replies: 35
    Last Post: 06-29-2022, 11:36 PM
  2. [SOLVED] Index match array return all matching values
    By Lameimpala in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-02-2019, 12:44 PM
  3. [SOLVED] If range contains one of the values in the array, return the index of the array
    By LawCarrot in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-01-2018, 04:12 AM
  4. Index Array return values between dates
    By Prospidnick in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-14-2017, 11:17 AM
  5. Index array to return me a list of values
    By xatomicx in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 04-04-2017, 05:31 PM
  6. [SOLVED] Index match array of name and values in a range
    By gutterball in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-12-2016, 04:52 PM
  7. [SOLVED] Count non-#N/A values in an INDEX/MATCH array
    By Old Michael in forum Excel General
    Replies: 3
    Last Post: 07-20-2012, 08:31 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