+ Reply to Thread
Results 1 to 3 of 3

Thread: Max value from column subset?

  1. #1
    Registered User
    Join Date
    05-16-2011
    Location
    Örebro, Sweden
    MS-Off Ver
    Excel 2003
    Posts
    1

    Max value from column subset?

    Hi!

    I have two tables in a workbook with a logical parent-child connection. I want to display in the "parent" table for each row the highest date entered on that particular rows children.

    I am using Excel 2007. I already found a way to count the number of "childrows":
    =COUNTIF(Table2[ParentItem];Table1[[#This Row];[Item]])

    Any ideas?

  2. #2
    Forum Moderator Richard Buttrey's Avatar
    Join Date
    02-15-2008
    Location
    Grappenhall, UK
    MS-Off Ver
    Excel for Windows & Mac - all versions.
    Posts
    6,566

    Re: Max value from column subset?

    Hi,

    Can you upload the workbook?

    Regards
    Richard Buttrey

    If this was useful then please rate it appropriately.

    Click the small star icon at the bottom left of my post.

  3. #3
    Registered User
    Join Date
    05-13-2011
    Location
    New Zealander in London
    MS-Off Ver
    Excel 2007
    Posts
    74

    Re: Max value from column subset?

    Quote Originally Posted by Carolina View Post
    Hi!

    I have two tables in a workbook with a logical parent-child connection. I want to display in the "parent" table for each row the highest date entered on that particular rows children.

    I am using Excel 2007. I already found a way to count the number of "childrows":
    =COUNTIF(Table2[ParentItem];Table1[[#This Row];[Item]])

    Any ideas?
    It's quite tricky to make out exactly what you're after, however if I'm reading this right you're looking for something along the lines of:
    =VLOOKUP(parenttable,MAX(rowofchilddata),columntoreturn,FALSE)
    ...where:
    parenttable = data in the parent table
    rowofchilddata = the row that you're looking for the max value in
    columntoreturn = the number of the column in the parenttable you wish to return as the result

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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.2.0