Results 1 to 2 of 2
  1. #1
    fulbin88 is offline Novice
    Windows 10 Access 2016
    Join Date
    Sep 2018
    Location
    Wrocław
    Posts
    1

    Grouping and adding values of grouped data. Problem with writing a query

    I have a csv file, I made a table from it in Access:
    pastebin.com/pSVXsg5r
    in the new table I would like to create four groups and assign them values.

    • Group 1 EXP
    • Group 2 KOM
    • Group 3 PCK
    • Group 4 TRP(new group name):HRL, L_F, LEA, PTP, SCH, TPE, UWA, VER.

    I would like to display vdata1 vdata2 and HOURS for each user divided into groups. (sum of vdata1, sum of vdata2, sum of hours for each group EXP, KOM, PCK, TRP)
    Click image for larger version. 

Name:	NoTitle.png 
Views:	19 
Size:	6.0 KB 
ID:	35578



    Click image for larger version. 

Name:	Result.png 
Views:	18 
Size:	23.0 KB 
ID:	35579

    Here is my Database in Access, please hints or study materials
    http://www.mediafire.com/file/dcska0...Table.rar/file


    I have a csv file, I made a table from it in Access:
    pastebin.com/pSVXsg5r
    in the new table I would like to create four groups and assign them values.

    • Group 1 EXP
    • Group 2 KOM
    • Group 3 PCK
    • Group 4 TRP(new group name):HRL, L_F, LEA, PTP, SCH, TPE, UWA, VER.
    • Click image for larger version. 

Name:	NoTitle.png 
Views:	16 
Size:	6.0 KB 
ID:	35580Click image for larger version. 

Name:	Result.png 
Views:	16 
Size:	23.0 KB 
ID:	35581


    I would like to display vdata1 vdata2 and HOURS for each user divided into groups. (sum of vdata1, sum of vdata2, sum of hours for each group EXP, KOM, PCK, TRP)

    Here is my Database in Access, please hints or study materials
    http://www.mediafire.com/file/dcska0...Table.rar/file


    https://stackoverflow.com/questions/...riting-a-query
    Attached Files Attached Files
    Last edited by orange; 09-23-2018 at 08:50 AM. Reason: Merging replicate related posts

  2. #2
    orange's Avatar
    orange is online now Moderator
    Windows 10 Access 2010 32bit
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,722
    I have approved your 3 posts and merged them since they are similar/related.
    You should be aware that many readers will not open offsite files/links.
    You correctly showed us that you have cross-posted similar question on stackoverflow.
    You have some responses there.
    Welcome to the forum.

    I recommend you describe what you are trying to achieve in simple terms in plain English.
    You could also attach your csv file with a description of the data and your requirements.
    Last edited by orange; 09-23-2018 at 08:51 AM. Reason: merged

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 8
    Last Post: 09-21-2017, 12:53 PM
  2. Replies: 3
    Last Post: 07-24-2016, 12:28 PM
  3. Replies: 6
    Last Post: 07-06-2015, 11:57 AM
  4. IIF Grouping Query Problem
    By cbh35711 in forum Access
    Replies: 1
    Last Post: 03-16-2012, 07:10 AM
  5. Min/Max of Transposed and Grouped Values
    By Lady_Jane in forum Queries
    Replies: 3
    Last Post: 06-20-2011, 08:55 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums