Solved

Excel Formula to find Earliest Date

Posted on 2014-12-08
4
434 Views
Last Modified: 2014-12-09
Hi All,

I was wondering if you could help me with an excel formula.

I have 3 columns of data.

1) Column 1 = Device Name
2) Column 2 = Application Name
3) Column 3 = Application Installation Date


I would like a formula to return the Device Name and the Earliest Application Installation Date on that Device.  So form the attached file the formula should return 3 rows

Device 1 05/05/2005
Device 2 03/03/2003
Device 3 16/02/2001

I have been playing around with the small function and that will return the lowest date in a range. However I need  the lowest date for each device and I cant seem to tie that formula to each device as well.

Any help would be greatly appreciated
excelearliestdate.xlsx
0
Comment
Question by:tjoconnor
4 Comments
 
LVL 49

Accepted Solution

by:
Rgonzo1971 earned 250 total points
ID: 40486417
Hi,

pls try this array formula Ctrl+Shift+Enter

=MIN(IF($A$2:$A$25=A27,$C$2:$C$25,""))

REgards
excelearliestdateV1.xlsx
0
 
LVL 32

Expert Comment

by:Rob Henson
ID: 40486503
If you are just wanting a single occurence of the formula, you can use the DMIN function:

=DMIN(Database,Field,Criteria)

Database - table of data
Field - the field that you want returned
Criteria - a separate list specifying the criteria, in your case it would just be Device name. This list has to have a header the same as the Database list.

Alternatively, run a pivot table and drag the date as a value field and use the Min option to Summarise.

Thanks
Rob H
0
 
LVL 16

Assisted Solution

by:Jerry Paladino
Jerry Paladino earned 250 total points
ID: 40486623
You can also accomplish this without formulas by using the Subtotals located in the OUTLINE Group under the DATA menu.   The data must have a header row and must be an Excel list and cannot be formatted as an Excel table.   With the cursor located in the data range, go to the Outline Group located under the DATA menu and select Subtotals.  The dialog box shown below will display and allow you to select the columns to sum ( or count, avg, min, max, etc…) and the column to use for the "On Change" column (Device in this case).

Once the Subtotals are displayed, to the left of the row numbers are expand and collapse buttons.  Pressing one of these will expand or collapse the list of data to show only the Device rows, etc…   Adding or deleting rows (and new devices, etc…)  will automatically update the subtotals.  

HTH,
JerrySubtotal iconSubtotal DialogSubtotal DetailSubtotal SummaryQ-28576162.xlsx
0
 

Author Comment

by:tjoconnor
ID: 40488357
thanks a million for all your help. These worked great
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will show you how to use shortcut menus in the Access run-time environment.
My experience with Windows 10 over a one year period and suggestions for smooth operation
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.

895 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

11 Experts available now in Live!

Get 1:1 Help Now