Solved

Find Minimum Date and Max Date based on a variable

Posted on 2011-09-21
5
201 Views
Last Modified: 2012-05-12
I need to calculate the minimum and maximum date based on the Customer name, see attached file. The user will enter the customer name from a drop down list. Min-Max-based-on-Criteria.xlsx
0
Comment
Question by:bearblack
  • 3
  • 2
5 Comments
 
LVL 85

Accepted Solution

by:
Rory Archibald earned 500 total points
ID: 36573827
Assuming customer name in A1:
=MIN(IF($G$7:$G$76=$A$1,$K$7:$K$76,""))
and
=MAX(IF($G$7:$G$76=$A$1,$K$7:$K$76,""))

both array-entered using Ctrl+Shift+Enter.

See attached file.

Regards,
Rory
Min-Max-based-on-Criteria.xlsx
0
 
LVL 2

Author Comment

by:bearblack
ID: 36574294
Can you do this with m,ultiple criteria?
0
 
LVL 2

Author Comment

by:bearblack
ID: 36574305
Such as cutomer and status for example
0
 
LVL 85

Expert Comment

by:Rory Archibald
ID: 36574344
Yes:
=MIN(IF($G$7:$G$76=$A$1,IF($M$7:$M$76=$A$2,$K$7:$K$76,"")))
for example. (again, array entered)
0
 
LVL 2

Author Comment

by:bearblack
ID: 36574405
Thanks Again
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Introduction This Article briefly covers methods of calculating the NPV and IRR variants in Excel as well as the limitations in calculating and interpreting IRR results. Paraphrasing Richard Shockley, author of my favourite finance reference tex…
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…
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.

860 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