?
Solved

Find Minimum Date and Max Date based on a variable

Posted on 2011-09-21
5
Medium Priority
?
212 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 2000 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

New benefit for Premium Members - Upgrade now!

Ready to get started with anonymous questions today? It's easy! Learn more.

Question has a verified solution.

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

In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
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.

765 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