+ Reply to Thread
Results 1 to 4 of 4

Average from different sheets in workbook

  1. #1
    Registered User
    Join Date
    11-04-2020
    Location
    Warrington, England
    MS-Off Ver
    Office 2016
    Posts
    24

    Average from different sheets in workbook

    Hi all,

    I'm trying to create a 'summary' type page of information for my school's PE data. The formula I've tried is:

    =SUM(COUNTIFS('Year 5'!C2:C30, “=Y”, 'Year 5'!F2:F30, {"EXS","GDS"}))/COUNTIF('Year 5'!C2:C30, “=Y”)

    I was hoping this would tell me who passed the 'effort' category and was also classified as a PP child and give me the information as a percentage. This is the information I need for C3 on the summary page but it doesn't seem to be correct.

    Could somebody tell me where I'm going wrong please?

    Thanks in advance.

    Paul
    Attached Files Attached Files

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,986

    Re: Average from different sheets in workbook

    I used this, which worked fine, giving 0.7, which - when formatted as a % gives 70:


    =SUM(COUNTIFS('Year 5'!C2:C30, "Y", 'Year 5'!F2:F30, {"EXS","GDS"}))/COUNTIF('Year 5'!C2:C30, "Y")

    There's no need for the = and I don't know what sort of " you were using, but the ones in the post were slanted. Unfortunately, the file you posted was formula-free...
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Registered User
    Join Date
    11-04-2020
    Location
    Warrington, England
    MS-Off Ver
    Office 2016
    Posts
    24

    Re: Average from different sheets in workbook

    Ah thank you. Perhaps I was using the incorrect ".

    Thanks again.

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,986

    Re: Average from different sheets in workbook

    I think so... a bit puzzling, as on my laptop KB, there's only the striaght ones.... Odd.

    Anyhow, you're welcome.



    It would be very nice if you were to just click the Add Reputation button at the foot of any of the posts of members who helped you reach a solution.

    Finally, if that takes care of your original question, please select "Thread Tools" from the menu link above and mark this thread as SOLVED.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Autofilter in Multiple sheets - copy sheets to new workbook - save workbook with a field
    By anchuri_chaitanya in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 03-21-2021, 01:30 AM
  2. Replies: 2
    Last Post: 02-25-2020, 11:26 PM
  3. Replies: 1
    Last Post: 07-23-2015, 10:15 PM
  4. Replies: 1
    Last Post: 10-04-2013, 04:21 AM
  5. [SOLVED] Macro to copy cells from multiple sheets in workbook to multiple sheets in other workbook
    By KeithMale in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 06-13-2013, 05:37 PM
  6. Automatically Copy sheets in one workbook to create sheets in a new workbook..
    By leebarratt in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-13-2011, 03:14 AM
  7. [SOLVED] Macro for filter on protected workbook that works for all sheets, no matter what sheets are named?
    By StargateFanFromWork in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-26-2006, 02:35 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1