Solved

Help with Excel DMIN

Posted on 2010-08-12
5
629 Views
Last Modified: 2012-05-10
Hi - I need some help with Excel DMIN.  Here is a sample from the spreadsheet...

Column F is the Truck (row 12-15 in this example)
Column G is the Ticket # (row 12-15)

Basically I want to conditionally find out the minimum ticket number for each truck.  I can provide separate formulas on separate lines to do each truck I just need the template...

If DMIN isn't the correct function please let me know!

Thanks! Zack
sample.bmp
0
Comment
Question by:zack4x4
5 Comments
 
LVL 58

Accepted Solution

by:
cyberkiwi earned 500 total points
ID: 33426489
=MIN(IF(F$12:F$15=F12,G$12:G$15,""))

Enter as array formula (ctrl-shift-enter)
0
 
LVL 4

Author Closing Comment

by:zack4x4
ID: 33426506
That worked perfectly - thanks!!
0
 
LVL 92

Expert Comment

by:Patrick Matthews
ID: 33426507
I avoid DMIN, DMAX, etc like the plague :)
0
 
LVL 58

Expert Comment

by:cyberkiwi
ID: 33426512
.. into H12, then copy down
Change F and G to the columns you want to work with, and $12-$15 to the range of rows
0
 
LVL 50

Expert Comment

by:Ingeborg Hawighorst
ID: 33426528
Hi,

the formula would be

=DMIN(F1:G5,"Ticket",I1:I2)

I1 has the value "Truck" I2 has the value ="=T01R"

The required layout is in the attached file.

cheers, teylyn
Book6.xls
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

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 article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
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…

786 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