+ Reply to Thread
Results 1 to 3 of 3

Determine most recent combi of year and quarter and put related value to cell

  1. #1
    Registered User
    Join Date
    01-28-2014
    Location
    Netherlands
    MS-Off Ver
    Excel 2010
    Posts
    55

    Determine most recent combi of year and quarter and put related value to cell

    Hi there, can anyone help me out?
    In a data table (column A-F) I want :
    1. determine what is the most recent year/quarter per customer and
    2. copy the related value (column E) and paste it in the cell related to this year/quarter combi(L-AA)
    I have attached a file in which it will be clear what I mean.
    Help is much appreciated!
    Rgds, Robert

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

    Re: Determine most recent combi of year and quarter and put related value to cell

    Why do you have all Year & Quarter in result layout, when you want just single value for each customer?

    At any rate, you could do something like below to get Max of year & quarter combo.
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Formula confirmed as array (CTRL + SHIFT + ENTER).

    This will return 20181 for customer 13001.

    Then it's matter of using that value to look up (in your case, you can use sumifs).
    Assuming above formula is in L3.
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    See attached.
    Last edited by CK76; 04-25-2018 at 09:45 AM.
    ?Progress isn't made by early risers. It's made by lazy men trying to find easier ways to do something.?
    ― Robert A. Heinlein

  3. #3
    Registered User
    Join Date
    01-28-2014
    Location
    Netherlands
    MS-Off Ver
    Excel 2010
    Posts
    55

    Re: Determine most recent combi of year and quarter and put related value to cell

    Hi CK76, Thanks very much. It works fine!! The lay-out was chosen for visibility reasons. But with your formulas I can go on now!

    Rgds, Robert

+ 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: 3
    Last Post: 10-04-2022, 07:27 AM
  2. [SOLVED] Complex Question, May be Related to VLookUp or Max? Selecting Most Recent Date/Status
    By jet05c in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-18-2018, 06:56 PM
  3. Replies: 4
    Last Post: 08-05-2015, 06:39 PM
  4. [SOLVED] formula to determine most recent month/year in range
    By Robert1311 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-29-2015, 09:08 AM
  5. [SOLVED] Counting Number of Cell by Quarter of Year
    By ususim in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-23-2013, 11:38 PM
  6. Determine Date Quarter
    By Tarball in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-31-2010, 01:56 PM
  7. Determine Quarter & Year
    By Kolacube in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-25-2008, 07:02 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