+ Reply to Thread
Results 1 to 12 of 12

can't pull greatest date using criteria

  1. #1
    Registered User
    Join Date
    10-21-2008
    Location
    Columbus OH
    Posts
    7

    can't pull greatest date using criteria

    working in a workbook and need to summarize on the first page. Each workbook page has the same format, Colume A is the team name, B-J are columes of data and colume K is the completion date. The teams are listed more then 1x each, and I need to pull the greatest date in colume K associated with each team, but only need the team name listed and the greatest date showing in the summary page. I thought I had it with this formula, only to see that it's pulling the greatest date in the range, not the greatest date associated with the team.
    =MAX(IF(Queries!A18:A153,"Financial Services",Queries!K18:K153))
    Last edited by wendyhatwork; 10-21-2008 at 02:59 PM. Reason: was told to change title

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678
    Wendy,

    Please read the Forum Rules about thread titles before starting your next thread.
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    10-21-2008
    Location
    Columbus OH
    Posts
    7
    Thanks SHG! I've updated the title!

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678
    Thanks.

    You entered this as an array formula, correct? (Hold down the Shift and Ctrl keys, then press Enter.)

  5. #5
    Registered User
    Join Date
    10-21-2008
    Location
    Columbus OH
    Posts
    7
    Quote Originally Posted by shg View Post
    Thanks.

    You entered this as an array formula, correct? (Hold down the Shift and Ctrl keys, then press Enter.)
    yes I did, and got the old #VALUE! error!

  6. #6
    Registered User
    Join Date
    10-21-2008
    Location
    Columbus OH
    Posts
    7
    when I don't enter it as an array formula (without Ctrl, Shft, enter)it will pull the greatest date in the column, but it doesn't use any of the criteria for which team it is.

  7. #7
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678
    Post a workbook?

  8. #8
    Registered User
    Join Date
    10-21-2008
    Location
    Columbus OH
    Posts
    7
    I had to cut it up a bit, but you get the idea! (please ignore the summary sheet) I need the dates to autopopulate in the status sheet under "Target Completion Date". These need to be pulled from column K in the workbook pages, but also based on which team in column A.
    Attached Files Attached Files
    Last edited by wendyhatwork; 10-22-2008 at 02:15 PM.

  9. #9
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678
    Here it isn't ...

    Note file size limits. Zip?

  10. #10
    Registered User
    Join Date
    10-21-2008
    Location
    Columbus OH
    Posts
    7
    was still too big zipped! So I cut it up and it's on there now. Thanks!

  11. #11
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678
    Change the formula in I49 to

    =MAX(IF(Queries!A18:A153 = "Financial Services", Queries!K18:K153)).

    It must be array entered, and returns 2/20/09.

  12. #12
    Registered User
    Join Date
    10-21-2008
    Location
    Columbus OH
    Posts
    7
    stinky comma messing the whole thing up!! Thank you so very very much! You have made my day!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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