Solved

Help with Excel DMIN

Posted on 2010-08-12
5
636 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
[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
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
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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying 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

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 article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
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 create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…

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