Are you suggesting that the entire 1309 "records" are all the same Report_ID?
I imported the Excel file into Access and named the table "tblSample". I renamed the fields to Data, Seq, SLC, and Description. Then to "transform" all the records with an SLC beginning with "A", I used the following SQL:
TRANSFORM First(tblSample.Data) AS FirstOfData
SELECT 1 AS ID
FROM tblSample
WHERE (((tblSample.SLC) Like "A*"))
GROUP BY 1
PIVOT tblSample.SLC;
This results in something like:
Code:
ID A1aA A1aB A1aC A1baA A1baB A1baC A1baD A1bbA A1bbB
1 727 0 727 0 0 0 0
Duane
MS Access MVP
[green]Ask a great question, get a great answer.[/green]
[red]Ask a vague question, get a vague answer.[/red]
[green]Find out how to get great answers faq219-2884.[/green]
[blue]Ask me about my grandson, get a grand answer.[/blue]