Solved

Excel Formula to find Earliest Date

Posted on 2014-12-08
4
452 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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Using Word 2013, I was experiencing some incredible lag when typing.  Here's what worked for me....
This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
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 how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.

777 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