Results 1 to 3 of 3
  1. #1
    adgsfh is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Oct 2011
    Posts
    2

    summing yes/no horizontally

    Hi,

    Please forgive my ignorance. I am teaching myself Access and many of the actions performed I am figuring out as I go. So, if you have a reply, do not assume I know much. Thanks. Anyway, here is my problem.

    I have a list of 20 employees. Each Employee is responsible for completing 100 tasks. I have a table with a field (column) of task numbers and a field for each employee with yes/no checkbox.


    ............Emp1---Emp2---...Emp20
    Task1----y/n-----y/n------y/n


    Task2... -y/n-----y/n------y/n
    Task100 -y/n-----y/n------y/n
    TOTAL----X-------X--------X

    I am able to calculate a percentage of tasks completed for each employee in a report. BUT, I also need to calculate percentage of Employees that have completed each task. (Summing horizontally) In the end, I need to calculate the total completion of all employees for all tasks.

    My attempt at a solution:

    I transposed the above report and can calculate that way, but I need to have this in one report (can't figure that part out) and IF I am heading in the right direction with the transposing, I need to link/relate the two tables so that I only have to check yes/no once and it will populate the other table.

    I have to believe there is an easier way to do this than how I am pursuing it.

    Please help. I've been going at this for days.

  2. #2
    Stingaway is offline Efficiency Junkie
    Windows 7 64bit Access 2010 64bit
    Join Date
    Sep 2011
    Location
    The deep south. Keep going until you hit water basically.
    Posts
    224
    Just answered a similar question a few days ago - look for summing horizontally on a report. You basically use a text field or a query column that adds up the fields you are trying to sum.

    =[Field1] + [Field2] + [Field3], etc.

  3. #3
    adgsfh is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Oct 2011
    Posts
    2
    Holy Smokes!! so incredibly simple. i used the sum function earlier and it returned the total of all tasks whether checked or not. You're solution was right on.

    Thanks a ton.

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

Similar Threads

  1. Summing totals horizontally in report
    By UnfinishedStory in forum Reports
    Replies: 3
    Last Post: 10-20-2011, 08:15 AM
  2. Compiling items with same ID horizontally
    By tomahs in forum Access
    Replies: 3
    Last Post: 06-04-2011, 12:36 AM
  3. Find field value Horizontally
    By jgelpi16 in forum Programming
    Replies: 11
    Last Post: 01-24-2011, 04:21 PM
  4. Text box resize horizontally
    By cowboy in forum Reports
    Replies: 1
    Last Post: 06-09-2010, 09:30 PM
  5. Expand field horizontally
    By jonsuns7 in forum Reports
    Replies: 1
    Last Post: 10-15-2009, 04:54 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