Hello Experts:
I need some assistance with transforming some raw data into a matrix.
Background:
- In the attached XLS, I illustrate the *transformation process* in four steps.
- Step 1 is the true "raw data". These values can be found in the attached DB (table "tblRawData").
- Step 2 illustrates a simple count (grouped) with field names in ASC order. This view can be found in query "Query - Step 2".
- Step 3 (in Excel) was *manually* created. Here, I simply copied the distinct source references into either column H or I or J or K.
- Step 4 (in Excel) was also *manually* created. Specifically, I now added a "header row" which shows the four distinct source references (row 3 in Excel). Now, however, any populated source reference is replaced with an "x" in the matrix.
Here's what I need some help with (ideally in Access):
- I'd like to automate the process which ultimately allows me to get to "Step 4". I'm not sure if "Step 3" can be skipped based on the query "Query - Step 2".
- If needed, I'm okay with using some form of "helper queries" in order to automate the process. Ideally though, I'd like to keep the number of helper queries/functions to a minimum.
- Finally, please keep in mind that all information (both in Excel and Access files are merely sample data). That is, my actual data source may include 10 different source references and has hundreds of records/values. That said, the transformation process must be *smart enough* to search for the distinct source references when placing them into the header row (Excel Step 4).
Thousand thanks in advance for assisting me (either w/ the required queries or VBA development) in database format!!
Cheers,
Tom
P.S. Attached are the Excel and Access files (in zipped format)