Hi,
I have a table in Access that currently exists as left (of attached image) and I am wanting to design a query (hopefully) that can transform the data to a new table and arranged as right (of attached image). Could anyone let me know how this can be done? UPDATE: accdb file is attached.
Thanks!
Last edited by wbbarn; 02-14-2022 at 05:11 PM. Reason: adding file
Explore CROSSTAB query. Access has a design wizard.
How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.
Thank you, June7! I will explore crosstab queries. In the meantime, I have attached my accdb file as you suggested.
More about CROSSTAB http://allenbrowne.com/ser-67.html
How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.
You can explore using a power query with transform in Excel to effectively normalise the data assuming this is a one off exercise.
DLookup Syntax and others http://access.mvps.org/access/general/gen0018.htm
Please use the star below the post to say thanks if we have helped !
↓↓ It's down here ↓↓
Minty, think data is already normalized. It is the first 3 columns in image. Rest of image is desired output. OP used Excel to produce this mockup but data in Access.
How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.
DLookup Syntax and others http://access.mvps.org/access/general/gen0018.htm
Please use the star below the post to say thanks if we have helped !
↓↓ It's down here ↓↓