+ Reply to Thread
Results 1 to 11 of 11

Extract values with non-array formula

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

    Extract values with non-array formula

    Looking for formula to extract values in column A (Distinct Zippa heading) into column D. Column B data is the primary data to be used to look into column A and if there is a match of the data in column B in column A, the formula should extract the match in column A into column D. See sample data.

    Thanks
    Attached Files Attached Files

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2507 (Windows 11 Home 24H2 64-bit)
    Posts
    91,861

    Re: Extract values with non-array formula

    What do you mean by non-array formula? It's impossible to do this without using arrays.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

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

    Re: Extract values with non-array formula

    AliGW: non-array meaning without using Control + ALT + Delete. Here is an example of non-array:
    Please Login or Register  to view this content.
    Thanks
    Last edited by bjnockle; 01-18-2020 at 02:31 PM.

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2507 (Windows 11 Home 24H2 64-bit)
    Posts
    91,861

    Re: Extract values with non-array formula

    OK. Do you have the Power Query add-in?

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

    Re: Extract values with non-array formula

    AliGW: No, I do not have Power Query add-in

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2507 (Windows 11 Home 24H2 64-bit)
    Posts
    91,861

    Re: Extract values with non-array formula

    That's a shame. I think you are going to struggle because of the lookup array to determine which numbers to include. Hopefully someone can do something with the AGGREGATE function for you.

    Just out of interest, why do you not want formula with CSE?

  7. #7
    Forum Expert BMV's Avatar
    Join Date
    01-13-2020
    Location
    St-Petersburg, Russia
    MS-Off Ver
    2013-2016
    Posts
    1,329

    Re: Extract values with non-array formula

    Control + ALT + Delete
    I hope it was joke


    The array function is
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Also you can use MSQuery. This tool is always present. Put example in to c:\temp or change path and name in the connection.
    Attached Files Attached Files
    Last edited by BMV; 01-18-2020 at 03:13 PM.

  8. #8
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,888

    Re: Extract values with non-array formula

    How about
    =IFERROR(INDEX($A$2:$A$63,AGGREGATE(15,6,(ROW($A$2:$A$63)-ROW($A$2)+1)/(ISNUMBER(MATCH($A$2:$A$63,$B$2:$B$21,0))),ROWS(D$2:D2))),"")

  9. #9
    Forum Expert BMV's Avatar
    Join Date
    01-13-2020
    Location
    St-Petersburg, Russia
    MS-Off Ver
    2013-2016
    Posts
    1,329

    Re: Extract values with non-array formula

    Aggregate is not available for 2010.

  10. #10
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,888

    Re: Extract values with non-array formula

    Yes it is, that's when it was first introduced.

  11. #11
    Forum Expert
    Join Date
    07-06-2004
    Location
    Northern California
    MS-Off Ver
    2K, 2003, 2010, O365
    Posts
    1,490

    Re: Extract values with non-array formula

    We should all be demanding access to the latest Excel, because the FILTER function makes quick work of this.

    =FILTER(A$2:A$63,COUNTIF(B$2:B$21,A$2:A$63))

    However, it's a spilled function, so arguably an array formula.

    My own contribution,

    D2: =INDEX(A$2:A$63,SMALL(INDEX((1-SIGN(COUNTIF(B$2:B$21,A$2:A$63)))*1000+ROW(A$2:A$63)-1,0),ROWS(D$2:D2)))

    which works without array formula entry in Excel 2000, so presumably also in all later versions. It returns #REF! errors when the data has been exhausted.

+ 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 extract values
    By bjnockle in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-15-2020, 10:38 PM
  2. Non Array Formula to Extract Values if criteria met
    By bjnockle in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-16-2018, 12:48 AM
  3. Non Array Formula to Extract Values
    By bjnockle in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 03-31-2018, 04:50 AM
  4. [SOLVED] Non Array Formula to Extract Values and Ignore Blanks
    By bjnockle in forum Excel Formulas & Functions
    Replies: 16
    Last Post: 03-27-2018, 02:41 PM
  5. Replies: 11
    Last Post: 10-27-2016, 07:33 PM
  6. [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
  7. Replies: 3
    Last Post: 11-24-2011, 06:11 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