Solved

Find Minimum Date and Max Date based on a variable

Posted on 2011-09-21
5
204 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Introduction While answering a recent question (http:/Q_27311462.html), I created an alternative function to the Excel Concatenate() function that you might find useful.  I tested several solutions and share the results in this article as well as t…
Freeze panes is an option within all variants of Excel to enable parts of a sheet to remain stationary when the cursor is in another part of the sheet. This is a very useful feature which is overlooked or under used.
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.

726 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