+ Reply to Thread
Results 1 to 2 of 2

Show Max date from a table field (from another table)

  1. #1
    Registered User
    Join Date
    06-20-2016
    Location
    Hawaii
    MS-Off Ver
    2010, 2015, 365
    Posts
    8

    Show Max date from a table field (from another table)

    I have two tables. A Summary table and a detail table. I'm trying to set-up a one->many relationship

    Summary Table: (table name: ProjectSummary)
    holds a list of projects (project, description, start date, duration, last action, etc.)

    Detail: )table name: ProjectDetail)
    holds updates for items listed in the Summary table (project, date, action)

    MY PROBLEM:
    • I'm trying to pull the most recent date from the Detail table that corresponds to the Project name in the Summary Table.
    • I used an array formula but the result is usually the first date the formula comes across. It seems that the formula is not using the entire array.

    This is the formula used in the ProjectSummary[Date] column:
    {=MAX(IF(ProjectDetail[Project]=[@Project],ProjectDetail[Date]))}

    I thought that by using the array formula it would evaluate the entire array before returning the max date.

    • Have I missed a step in the formula?
    • Am i examining the right fields in order to return the MAX date?


    Any assistance is greatly appreciated.

  2. #2
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Show Max date from a table field (from another table)

    Some context would help. If you upload a representative sample workbook ... (not pics or screenshots ... saves retyping data) I am confident someone will post a solution.

    If you are not familiar with how to do this.=:

    To attach a file to your post,
    • be sure to desensitize the data
    • click “Go Advanced” (next to Post Quick Reply – bottom right),
    • scroll down until you see “Manage Attachments”, click that,
    • click “Browse”.
    • select your file(s)
    • click “Upload”
    • click “Close window”
    • click “Submit Reply”

    The file name will appear at the bottom of your reply.
    Dave

+ 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. Pivot Table field show values as % of another value field
    By amotto11 in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 02-27-2015, 04:31 PM
  2. Pivot table: Show only if field has certain values on same date
    By marval in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 08-31-2012, 05:53 AM
  3. pivot table won't show other dropdown field values
    By nugundam93 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-07-2008, 06:00 AM
  4. Replies: 1
    Last Post: 05-25-2008, 06:28 AM
  5. [SOLVED] My pivot table field list show duplicates
    By Kay in forum Excel General
    Replies: 0
    Last Post: 12-06-2005, 05:55 PM
  6. [SOLVED] how do i show text in the data field of a pivot table?
    By pum75 in forum Excel General
    Replies: 1
    Last Post: 11-16-2005, 05:10 PM
  7. How can I show all field data in a pivot table, instead of blank
    By Alastair Scott in forum Excel General
    Replies: 3
    Last Post: 08-17-2005, 03:05 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