We help IT Professionals succeed at work.
Get Started

Find maximum value and print only associated record

richardlh asked
Last Modified: 2010-04-21
I am trying to create a report where the latest contract amendment is found and displayed as a letter along with its associated work order. The problem is that I get multiple rows of the same data and the nuimber of rows appears to be assoicated with the number of amendments, but not always.

Below is the general groups of data:

Agreement    Work Order    Amendment
E00001                  1                       none
E00001                  2                       none
E00002                  1                       none
E00002                  1                           1
E00002                  2                        none
E00002                  2                           1
E00002                  2                           2
E00002                  2                           3
E00003                  1                        none

I have a formula that converts the amendment number of a letter (i.e., 1=A, 2=B, 3=C, etc)

I want the report to display:

WO# 1
WO# 2

WO# 1A
WO# 2C

WO# 1

What can I do to make this happen?

Thank you experts in advance.
Watch Question
This problem has been solved!
Unlock 1 Answer and 15 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE