+ Reply to Thread
Results 1 to 8 of 8

Return Last Entry from multiple column from successful index

  1. #1
    Registered User
    Join Date
    04-28-2017
    Location
    Los Angeles
    MS-Off Ver
    2016
    Posts
    20

    Return Last Entry from multiple column from successful index

    Hi,

    I am attempting to index multiple columns in succession and return the last entry from every nth row. Every index variation I attempt fails. Anyone more educated than I can lend a hand?

    GOAL = Index every month column in succession (Jan, then Feb, then Mar, then Apr, etc etc through Dec) and return the very last entry from every 2nd and 4th within range ROW8:ROW98 and ignoring every 3rd row and blank cells.

    Attached is the spreadsheet.

    Thanks in advance.
    Attached Files Attached Files
    Last edited by jchungerford; 05-01-2017 at 02:04 PM.

  2. #2
    Forum Expert CK76's Avatar
    Join Date
    06-16-2015
    Location
    ONT, Canada
    MS-Off Ver
    MS365 Apps for enterprise
    Posts
    5,973

    Re: Return Last Entry from multiple column from successful index

    Try below (though I'm sure there's something more efficient...)
    Please Login or Register  to view this content.
    Confirmed as array (CTRL + SHIFT + ENTER).

  3. #3
    Registered User
    Join Date
    04-28-2017
    Location
    Los Angeles
    MS-Off Ver
    2016
    Posts
    20

    Re: Return Last Entry from multiple column from successful index

    Not quite. The formula needs to product the LAST number in the overall index, not the largest. The result can be any numerical value within the range.

  4. #4
    Forum Expert CK76's Avatar
    Join Date
    06-16-2015
    Location
    ONT, Canada
    MS-Off Ver
    MS365 Apps for enterprise
    Posts
    5,973

    Re: Return Last Entry from multiple column from successful index

    Hmm? The formula takes largest row index and column index, not the largest numeric value.
    Edit: It first looks for largest column index which returns numeric value in range. Then using that column index, looks for largest row which has numeric value (which also matches to rows containing numeric value in E8:E100 range.)

    0.JPG
    Last edited by CK76; 05-01-2017 at 02:45 PM. Reason: See Edit:

  5. #5
    Registered User
    Join Date
    04-28-2017
    Location
    Los Angeles
    MS-Off Ver
    2016
    Posts
    20

    Re: Return Last Entry from multiple column from successful index

    NVm. I'm sorry. I was confused on the result. This works well actually. Thanks so much CK76!

  6. #6
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 V 2504
    Posts
    13,722

    Re: Return Last Entry from multiple column from successful index

    Edited Never mind. I didn't see the insets in column T:Z.

    I am confused:

    GOAL = Index every month column in succession (Jan, then Feb, then Mar, then Apr, etc etc through Dec) and return the very last entry from every 2nd and 4th within range ROW8:ROW98 and ignoring every 3rd row and blank cells.
    That is a strange pattern; every 2nd and 4th is Close, Open and Change in the first 6 rows. Cell J13 would be both 3rd and 4th. What am I missing? Do you mean 1st and 2nd ignoring 3rd?

    Row\Col
    J
    3
    4
    April
    5
    6
    $70.91
    7
    171.13%
    8
    $76.62
    9
    $67.74
    10
    -11.59%
    11
    $67.74
    12
    $69.92
    13
    3.22%
    14
    $69.92
    15
    $57.42
    16
    -17.88%
    17
    $57.42
    18
    $65.49
    19
    14.05%
    20
    $65.49
    21
    $71.81
    22
    9.65%
    Last edited by FlameRetired; 05-01-2017 at 02:55 PM.
    Dave

  7. #7
    Registered User
    Join Date
    04-28-2017
    Location
    Los Angeles
    MS-Off Ver
    2016
    Posts
    20

    Re: Return Last Entry from multiple column from successful index

    I apologize. I was trying to write to different questions and mixed them up. :|

    Yes, every 1st and 2nd (accounting values), ignoring every third (percentages). Sorry for the confusion, been a rough weekend and I'm all over the place.

  8. #8
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Return Last Entry from multiple column from successful index

    Here are couple of other thing to consider:
    Replace your long AVERAGE formula in G6
    Enter in G6 and copy across
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    For the last number use this
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

+ 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. MATCH value to multiple ranges and return different VLOOKUP column index
    By orvikon in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-05-2017, 06:22 PM
  2. Index-match function to return multiple values in a row or column
    By bping in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 02-10-2015, 04:57 PM
  3. [SOLVED] return multiple values in 1 column via index / match
    By Bax in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-12-2013, 06:54 AM
  4. VLOOKUP or INDEX formula to return multiple values in the same column
    By Raidon in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 10-08-2012, 08:41 AM
  5. Replies: 3
    Last Post: 06-15-2012, 04:19 PM
  6. Lookup multiple coloums and return corresponding column entry
    By prashe in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 02-26-2011, 11:14 PM
  7. Replies: 2
    Last Post: 09-18-2008, 05:47 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