Results 1 to 2 of 2
  1. #1
    jscriptor09 is offline Advanced Beginner
    Windows XP Access 2010 32bit
    Join Date
    Jul 2011
    Posts
    60

    Query question

    Hi

    I have a table (inherited) with several fields. The key ones I am dealing with is

    GRADE, REGION and SCORE

    GRADE is Poor, Average, Good, Excellent.
    REGION is North, South, East, West.
    ------------------Sum(North)--------Sum(South)--------Sum(East)---------Sum(West)
    Poor-------------15---------------------45----------------23--------------------83
    Average---------11---------------------12----------------43--------------------22
    Good------------02---------------------44----------------33--------------------55
    Excellent--------12---------------------14----------------31--------------------75



    So what I am dealing with is every time a region is voted a SCORE, Region category get a zero(0) or one(1)
    and we are suming up to make the table above.

    the SCORE for Average is for 70 to 80
    I need to split into Low Average (<= 75) and High Average(>75 to 80)

    I am trying to construct this table
    ------------------Sum(North)--------Sum(South)--------Sum(East)---------Sum(West)
    Poor-------------15---------------------45----------------23--------------------83
    Low Average-- -06---------------------06----------------23--------------------10
    High Average---05---------------------06----------------20--------------------12
    Good------------02---------------------44----------------33--------------------55
    Excellent--------12---------------------14----------------31--------------------75

    I am struggling to get this working. I tried compounded select and I tried union. Neither worked.
    Any help doing this query would appreciated

    thank you
    Mike

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,971
    You are trying to create 2 records where there is currently only 1. SELECT queries don't create records.

    Is this your raw data table? Looks like a CROSSTAB query. Show raw data.

    I don't understand where the 70 to 80 comes from.
    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.

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

Similar Threads

  1. Query question/help
    By 9944pdx in forum Queries
    Replies: 4
    Last Post: 12-12-2017, 08:13 PM
  2. Query question
    By jscriptor09 in forum Queries
    Replies: 3
    Last Post: 03-12-2014, 01:15 PM
  3. query question
    By jscriptor09 in forum Queries
    Replies: 10
    Last Post: 05-01-2013, 09:49 PM
  4. Query Question
    By anunat in forum Queries
    Replies: 5
    Last Post: 07-12-2012, 10:52 AM
  5. Question with query
    By Eric Huang in forum Queries
    Replies: 3
    Last Post: 08-01-2011, 05:53 AM

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