I'm trying to run a query off of a table that has multiple rows for a single loan number. The example I'm providing is a very small portion of the table and amount of data I'm working with, but the concept is the same. I'm trying to show the approved AMT only once in my query results for when I run a total on the query. If the approved AMT shows up more than once the totals are incorrect for what I'm looking for. Below is an example of what I'm looking for. The 1st table shows the data as how it appears in the main database that I have no control or editing rights over and the 2nd table is how I want the results to look in Access once my query is run. Please let me know if this is possible. Thanks and sorry the infomration looks like it does. I don't know how to copy over my tables from Excel and keep the formatting.
Table Data:
Loan Number - Approved AMT - Loan Used - AMT Spent
XYZ - 100,000 - IL - 15,000
XYZ - 100,000 - MO - 5,000
XYZ - 100,000 - AZ - 24,000
XYZ - 100,000 - TX - 2,500
XYZ - 100,000 - FL - 17,500
Results wanted:
Loan Number Approved AMT Loan Used AMT Spent
XYZ - 100,000 - IL - 15,000
XYZ - 0 - MO - 5,000
XYZ - 0 - AZ - 24,000
XYZ - 0 - TX - 2,500
XYZ - 0 - FL - 17,500