+ Reply to Thread
Results 1 to 6 of 6

Formula Issue - Retreiving Data from one sheet to the other with same identifiers

  1. #1
    Registered User
    Join Date
    06-09-2020
    Location
    USA
    MS-Off Ver
    2016
    Posts
    27

    Formula Issue - Retreiving Data from one sheet to the other with same identifiers

    Hi All,

    I am curious about adding in Code 1 to column C on sheet 1, and then have the corresponding Code 2s next to it in column D. I appreciate the help as I have kept running into issues with a if error aggregate 15,6 - min (row) formula. Thanks!
    Attached Files Attached Files
    Last edited by Guitarist; 06-05-2023 at 11:59 AM.

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

    Re: Index or Aggregate forumla help

    Administrative Note:

    GENERIC THREAD TITLE - FUNCTION NAMES ONLY

    We would very much like to help you with your query, however the thread title does not really convey what your request is about. Tell us what you are trying to do, not how you think it should be done.

    Please take a moment to amend your thread title. Make sure that the title properly explains your request. Your title should be explicit and not be generic (this includes function names used without an indication of what you are trying to achieve).

    Please see Forum Rule #1 about proper thread titles and adjust accordingly. To edit the thread title, open the original post to edit and then click on Go Advanced (bottom right) to access the area where you can edit your title.

    (Note: this change is not optional. No help to be offered until this moderation request has been fulfilled.)


    Which version of Excel are you using? Your profile says Tennessee!!!
    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.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,980

    Re: Formula Issue - Retreiving Data from one sheet to the other with same identifiers

    Thanks. Which is your Excel version?

  4. #4
    Registered User
    Join Date
    06-09-2020
    Location
    USA
    MS-Off Ver
    2016
    Posts
    27

    Re: Formula Issue - Retreiving Data from one sheet to the other with same identifiers

    2016 - Thanks!

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,980

    Re: Formula Issue - Retreiving Data from one sheet to the other with same identifiers

    OK - please update your forum profile, which currently tells us that your Excel version is Tennessee!

    I will have a look at your issue.

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

    Re: Formula Issue - Retreiving Data from one sheet to the other with same identifiers

    Code 1: =INDEX(Sheet2!J$1:J$500,AGGREGATE(15,6,ROW($2:$500)/(Sheet2!$A$2:$A$500>0),ROW(1:1)))
    Code 2: =INDEX(Sheet2!K$1:K$500,AGGREGATE(15,6,ROW($2:$500)/(Sheet2!$A$2:$A$500>0),ROW(1:1)))

    OR:

    =INDEX(Sheet2!J$1:J$500,AGGREGATE(15,6,ROW($2:$500)/(Sheet2!$B$2:$B$500=B2),ROW(1:1)))
    =INDEX(Sheet2!K$1:K$500,AGGREGATE(15,6,ROW($2:$500)/(Sheet2!$B$2:$B$500=B2),ROW(1:1)))

    **Array formulas are not entered in the same way as 'standard' formulas. Instead of pressing just ENTER, you first hold down CTRL and SHIFT, and only then press ENTER. If you've done it correctly, you'll notice Excel puts curly brackets {} around the formula (though do not attempt to manually insert these yourself).
    Attached Files Attached Files
    Last edited by AliGW; 06-05-2023 at 12:40 PM. Reason: Workbook added.

+ 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 + aggregate
    By Matre in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 03-13-2020, 06:01 PM
  2. [SOLVED] Index/Aggregate formula calculates correct row but does not yield name from Index array
    By FivestarMac in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-17-2019, 05:07 PM
  3. [SOLVED] Index & aggregate
    By elatreille in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-09-2019, 08:22 AM
  4. Replies: 1
    Last Post: 08-17-2019, 01:11 PM
  5. [SOLVED] Create List - Index Match or Index Aggregate or other?
    By bambamclint in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 02-10-2019, 01:30 PM
  6. Index, Aggregate, Row - Removing Duplicate W/ Index Help
    By adbexcel in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 01-04-2016, 03:53 PM
  7. [SOLVED] Aggregate forumla help
    By seanyc in forum Excel General
    Replies: 13
    Last Post: 06-15-2012, 02:42 PM

Tags for this Thread

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