Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Extract Records from Database which Matches Criteria

Extract Records from Database which Matches Criteria

Extract Records from Database which Matches Criteria

I have a large list of data from a structural analysis package, which contains the following data for each record:
member, loadcase, Fx, Fy, Fz, Mx, My, Mz.
a sample extract is like this

For each member the maximum and minimum value for each component (Fx, Fy....) is determined using the function DMAX().  What I want to do is extract the entire record which correlates with this maxima or minima (ie coexisting forces).

I have tried using the MATCH function to find the row, to then use INDEX, however stops at the first occurence, not necessarily the row for the correct member record.

Any ideas?

RE: Extract Records from Database which Matches Criteria

maybe you could do this using standard excell commands, but VB would also be quite easy.

Best Regards


RE: Extract Records from Database which Matches Criteria

Barbershopper, try the following:
Assume your data is located in cells A1:F10 then
Fxmax = max(A1:A10)
row = match(Fxmax,A1:A10,0)
Fyass = index(B1:B10,row)
Fzass = index(C1:C10,row) and so on..

Hope it helps!

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members! Already a Member? Login


Close Box

Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close