Solved

Excel Max

Posted on 2016-10-09
6
32 Views
Last Modified: 2016-10-10
I have a Excel worksheet that has two columns. The first column is the user name and the second column contains the user date. I'm try to find the last (max) date in the second column (user date) based on the user name. For example if a user has ten rows (records) I want to find the max date in that group of records. When the user names changes repeat above. Thanks
0
Comment
Question by:shieldsco
6 Comments
 
LVL 8

Expert Comment

by:Koen
ID: 41836106
names in columns A, dates in column B:

add a column for the max and enter this formula

=MAX(IF($A$2:$A$4=A2;$B$2:$B$4))
(you might need to replace ; with , depending on your regional settings)

hit CTRL+Shift+enter to turn it into a formula array, then copy down

{=MAX(IF($A$2:$A$4=A2;$B$2:$B$4))}
0
 

Author Comment

by:shieldsco
ID: 41836121
returns the date 1/0/1900
0
 

Author Comment

by:shieldsco
ID: 41836132
Pic
0
Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

 
LVL 21

Expert Comment

by:Ejgil Hedegaard
ID: 41836135
With Index you can use a standard formula
=MAX(INDEX(($A$2:$A$100=A2)*$B$2:$B$100,,))
Change the ranges to fit the data, it can be longer than the list.
0
 
LVL 8

Accepted Solution

by:
Koen earned 500 total points
ID: 41836137
works for me... see attached file
Book2.xlsx
0
 
LVL 31

Expert Comment

by:Rob Henson
ID: 41836740
You could also summarise the data in a pivot table.

Set up correctly, this would give a list of unique names and the max date for each. With the data set as a Table, the pivot will adjust the range from which it gets the data and can be refreshed easily.

Copy of Koen's file attached with pivot.

Thanks
Rob H
Book2--1-.xlsx
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

This tutorial explains how to create a series of drop-down lists that are dependent upon prior selections to guide (“force”) the user to make the correct selection and reduce data errors within Microsoft Excel. Excel 2010 was used for this tutorial;…
In this article we discuss how to recover the missing Outlook 2011 for Mac data like Emails and Contacts manually.
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now