Help with Excel DMIN

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
LVL 4
zack4x4Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

cyberkiwiCommented:
=MIN(IF(F$12:F$15=F12,G$12:G$15,""))

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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
zack4x4Author Commented:
That worked perfectly - thanks!!
0
Patrick MatthewsCommented:
I avoid DMIN, DMAX, etc like the plague :)
0
cyberkiwiCommented:
.. 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
Ingeborg Hawighorst (Microsoft MVP / EE MVE)Microsoft MVP ExcelCommented:
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
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.