+ Reply to Thread
Results 1 to 12 of 12

Array Formula to extract all values (both duplicates and unique values in a range in Excel

  1. #1
    Forum Contributor
    Join Date
    02-06-2013
    Location
    Maryland
    MS-Off Ver
    Excel 2010
    Posts
    1,000

    Array Formula to extract all values (both duplicates and unique values in a range in Excel

    Looking for a formula to extract all values in column A2:A100. For example, column A2:A8 values Food, Money, Ice, Snow, Snow, Locus, Food. Need a formula to extract all these vlaues.

    Thanks
    Last edited by bjnockle; 10-26-2016 at 08:50 PM.

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,724

    Re: Array Formula to extract all values (both duplicates and unique values in a range in E

    Do you mean to put them all in one cell?

    Pete

  3. #3
    Forum Contributor
    Join Date
    02-06-2013
    Location
    Maryland
    MS-Off Ver
    Excel 2010
    Posts
    1,000

    Re: Array Formula to extract all values (both duplicates and unique values in a range in E

    I mean extract all values in Sheet1 A1:A8 to Sheet 2

  4. #4
    Forum Expert azumi's Avatar
    Join Date
    12-10-2012
    Location
    YK, Indonesia
    MS-Off Ver
    Excel 2019
    Posts
    2,367

    Re: Array Formula to extract all values (both duplicates and unique values in a range in E

    It's difficult without seeing your excel file, try to upload it with step click "Go Advanced" button and find "Manage Attachment" button to attach the file, and please explain with detail your desired results on that file

  5. #5
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,724

    Re: Array Formula to extract all values (both duplicates and unique values in a range in E

    Quote Originally Posted by bjnockle View Post
    I mean extract all values in Sheet1 A1:A8 to Sheet 2
    Well, the simplest way would be to put this formula in A1 of Sheet2:

    =Sheet1!A1

    then copy down as required.

    I suspect, though, that there is a bit more to your request than this.

    Hope this helps.

    Pete

  6. #6
    Forum Contributor
    Join Date
    02-06-2013
    Location
    Maryland
    MS-Off Ver
    Excel 2010
    Posts
    1,000

    Re: Array Formula to extract all values (both duplicates and unique values in a range in E

    If values are deleted, you get #REF! and will not shift. That is why I try not to do =Sheet1!A1
    Last edited by bjnockle; 10-26-2016 at 09:19 PM.

  7. #7
    Forum Contributor
    Join Date
    02-06-2013
    Location
    Maryland
    MS-Off Ver
    Excel 2010
    Posts
    1,000

    Re: Array Formula to extract all values (both duplicates and unique values in a range in E

    Attachment
    Attached Files Attached Files

  8. #8
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2016
    Posts
    5,908

    Re: Array Formula to extract all values (both duplicates and unique values in a range in E

    Try this ...

    =INDIRECT("Sheet1!A"&ROWS($A$1:A1))&""

  9. #9
    Forum Expert azumi's Avatar
    Join Date
    12-10-2012
    Location
    YK, Indonesia
    MS-Off Ver
    Excel 2019
    Posts
    2,367

    Re: Array Formula to extract all values (both duplicates and unique values in a range in E

    hope this works
    Attached Files Attached Files

  10. #10
    Forum Contributor
    Join Date
    02-06-2013
    Location
    Maryland
    MS-Off Ver
    Excel 2010
    Posts
    1,000

    Re: Array Formula to extract all values (both duplicates and unique values in a range in E

    azumi: works like a charm. Thanks a million Azumi.

  11. #11
    Forum Contributor
    Join Date
    02-06-2013
    Location
    Maryland
    MS-Off Ver
    Excel 2010
    Posts
    1,000

    Re: Array Formula to extract all values (both duplicates and unique values in a range in E

    Phuocam: great formula, Phuocam. Works like a charm. Thanks

  12. #12
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2016
    Posts
    5,908

    Re: Array Formula to extract all values (both duplicates and unique values in a range in E

    You are welcome.

+ 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. Non Array Formula to pull unique values and sort in a range
    By bjnockle in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 02-04-2021, 06:15 AM
  2. extract unique values in an array
    By froggeja in forum Excel Formulas & Functions
    Replies: 17
    Last Post: 06-24-2015, 03:58 AM
  3. Extract Unique Values from VBA array
    By cmore in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 10-16-2013, 08:25 PM
  4. [SOLVED] Array formula to extract and sort unique values from two worksheets
    By rshukla in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-07-2013, 06:11 AM
  5. Extract unique values and their count from a two dimensional Array
    By shahirslmn in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 05-17-2012, 09:37 PM
  6. Replies: 3
    Last Post: 11-24-2011, 06:11 AM
  7. Extract Unique Values from an Array based on Criteria
    By ronleex324 in forum Excel General
    Replies: 1
    Last Post: 10-04-2011, 06:37 PM

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