Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
jenn
 
Posts: n/a
Default 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   Report Post  
Biff
 
Posts: n/a
Default

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   Report Post  
Ken Wright
 
Posts: n/a
Default

=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" wrote in 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?



  #4   Report Post  
jenn
 
Posts: n/a
Default

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   Report Post  
Ragdyer
 
Posts: n/a
Default

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" wrote in message
...
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
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Last Date in List Edgar Thoemmes Excel Discussion (Misc queries) 4 March 3rd 05 02:35 PM
how to make excel select todays date from a list sococr Excel Worksheet Functions 1 February 27th 05 07:02 PM
Need to find oldest date in ever changing list. Alan Anderson via OfficeKB.com Excel Worksheet Functions 5 February 20th 05 04:09 AM
I have a list of dates that I need to count based on a date range ejb030353 Excel Worksheet Functions 4 November 24th 04 02:27 PM
How can I sum information in a list with a date range? Dave Excel Worksheet Functions 2 November 23rd 04 08:17 PM


All times are GMT +1. The time now is 01:23 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"