+ Reply to Thread
Results 1 to 3 of 3

Extract last 5 values within crtiteria

  1. #1
    Registered User
    Join Date
    07-30-2014
    Location
    Berlin, Germany
    MS-Off Ver
    2010
    Posts
    7

    Extract last 5 values within crtiteria

    Hy,

    I am trying to display last 5 value from a table based on some criteria.
    I have managed to find a solution for the first 5 values. How can i modify this to display last 5 values.
    I have attached a spreadsheet.

    Thanks,
    Attached Files Attached Files

  2. #2
    Forum Expert boopathiraja's Avatar
    Join Date
    07-12-2013
    Location
    Coimbatore,TamilNadu, India
    MS-Off Ver
    Excel 2007, 2013, 2016, 365
    Posts
    1,455

    Re: Extract last 5 values within crtiteria

    may be this
    IF(ROWS(C$7:C7)>$D$6,"",INDEX(D$22:D$51,LARGE(IF(($B$22:$B$51=$C$3)*($C$22:$C$51=$D$3),ROW($B$22:$B$51)-ROW($B$22)+1),ROWS(C$7:C7))))
    Click just below left if it helps, Boo?ath?

  3. #3
    Registered User
    Join Date
    07-30-2014
    Location
    Berlin, Germany
    MS-Off Ver
    2010
    Posts
    7

    Re: Extract last 5 values within crtiteria

    Works!!!

    Thanks,

+ 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. Replies: 2
    Last Post: 09-06-2013, 03:15 PM
  2. Replies: 5
    Last Post: 04-12-2011, 12:59 PM
  3. Macro Loop to Extract Specific Values and Min/Max Values From Column/Rows Range
    By ExcelQuestFL in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 12-19-2010, 09:19 AM
  4. Extract Unique Values, Then Extract Again to Remove Suffixes
    By Karl Burrows in forum Excel General
    Replies: 23
    Last Post: 06-25-2005, 08:05 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