+ Reply to Thread
Results 1 to 5 of 5

grab max date from list

  1. #1
    jenn
    Guest

    grab max date from list

    I have several columns of data. The most important being a client name and
    their last date of service. Can I pivot and pull the patient name and only
    grab their last date of service, or is there a vlookup that will grab the
    most recent date?

  2. #2
    Biff
    Guest

    grab max date from list

    Hi!

    Why pull and grab when you can yank! <g>

    Client names in column A
    Dates in column G

    Entered as an array with the key combo of CTRL,SHIFT,ENTER:

    =MAX(IF(A1:A100="Client_Name",G1:G100))

    Format the cell as DATE

    Biff

    >-----Original Message-----
    >I have several columns of data. The most important being

    a client name and
    >their last date of service. Can I pivot and pull the

    patient name and only
    >grab their last date of service, or is there a vlookup

    that will grab the
    >most recent date?
    >.
    >


  3. #3
    Ken Wright
    Guest

    Re: grab max date from list

    =SUMPRODUCT(MAX((RngNames=E1)*(RngDates)))

    --
    Regards
    Ken....................... Microsoft MVP - Excel
    Sys Spec - Win XP Pro / XL 97/00/02/03

    ----------------------------------------------------------------------------
    It's easier to beg forgiveness than ask permission :-)
    ----------------------------------------------------------------------------

    "jenn" <jenn@discussions.microsoft.com> wrote in message
    news:D280044C-6254-4AAF-9C36-2A5DA61321BA@microsoft.com...
    > I have several columns of data. The most important being a client name and
    > their last date of service. Can I pivot and pull the patient name and only
    > grab their last date of service, or is there a vlookup that will grab the
    > most recent date?




  4. #4
    jenn
    Guest

    RE: grab max date from list

    I must not have something quite right... when I follow the instructions my
    column fills with the formula... =MAX(IF(A1:A100="Client_Name",G1:G100))

    "Biff" wrote:

    > Hi!
    >
    > Why pull and grab when you can yank! <g>
    >
    > Client names in column A
    > Dates in column G
    >
    > Entered as an array with the key combo of CTRL,SHIFT,ENTER:
    >
    > =MAX(IF(A1:A100="Client_Name",G1:G100))
    >
    > Format the cell as DATE
    >
    > Biff
    >
    > >-----Original Message-----
    > >I have several columns of data. The most important being

    > a client name and
    > >their last date of service. Can I pivot and pull the

    > patient name and only
    > >grab their last date of service, or is there a vlookup

    > that will grab the
    > >most recent date?
    > >.
    > >

    >


  5. #5
    Ragdyer
    Guest

    Re: grab max date from list

    Sounds like your cells were probably formatted as Text *before* you entered
    the formula.

    To check if this is so, select one of the "bad" cells displaying the
    formula, and then:

    <Ctrl> <Shift. <~>
    Then <F2>
    Then <Enter>

    What this does is use a keyboard shortcut to format the cell to General,
    then re-enter the formula.

    If this *doesn't* work, another possibility is that you're in "formula view
    mode".

    To toggle in and out of this view, hold <Ctrl>, and then hit the key that
    has the <~> on it.
    --
    HTH,

    RD

    ---------------------------------------------------------------------------
    Please keep all correspondence within the NewsGroup, so all may benefit !
    ---------------------------------------------------------------------------
    "jenn" <jenn@discussions.microsoft.com> wrote in message
    news:EBE185BB-024E-48A2-A3C4-931C7804AAF0@microsoft.com...
    > I must not have something quite right... when I follow the instructions my
    > column fills with the formula... =MAX(IF(A1:A100="Client_Name",G1:G100))
    >
    > "Biff" wrote:
    >
    > > Hi!
    > >
    > > Why pull and grab when you can yank! <g>
    > >
    > > Client names in column A
    > > Dates in column G
    > >
    > > Entered as an array with the key combo of CTRL,SHIFT,ENTER:
    > >
    > > =MAX(IF(A1:A100="Client_Name",G1:G100))
    > >
    > > Format the cell as DATE
    > >
    > > Biff
    > >
    > > >-----Original Message-----
    > > >I have several columns of data. The most important being

    > > a client name and
    > > >their last date of service. Can I pivot and pull the

    > > patient name and only
    > > >grab their last date of service, or is there a vlookup

    > > that will grab the
    > > >most recent date?
    > > >.
    > > >

    > >



+ 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