+ Reply to Thread
Results 1 to 6 of 6

Countifs across tabs and every other column

  1. #1
    Registered User
    Join Date
    02-20-2018
    Location
    Somerset
    MS-Off Ver
    2010
    Posts
    3

    Countifs across tabs and every other column

    Hello everyone,

    I'm new to this forum but hope someone can help. (Spreadsheet Attached)

    I work in a school where we have students studying OCR Courses ranging from Numeracy to ICT and everything else and there is a tab/sheet for each subject. I have built a tracker to enable us to monitor progress, each unit number has two columns a mid year which shows traffic lights (3 = green, 2 = amber, 1 = red, 0 = off/black) then next to that is a unit completed which shows a tick when the number of credits that unit is worth is entered into the cell otherwise it shows a cross.

    I want to be able to count how many green traffic lights so (3's) there are overall across all my tabs in the mid year columns but have been struggling as some of the the cells under "unit completed" also contain 1, 2 and 3's.

    So I essentially need it to do a countifs formula from columns D7, F7, H7 etc so every other column across every tab/sheet and show it on a summary page at the end so I can see how many green lights are in the Mid years overall. It's probably worth mentioning that every subject has a varying amount of units.

    Ideally I then want to count this by year group if possible.

    Sorry if this is wordy this is my first major spreadsheet I feel I have done well so far.

    5d5cbbc7-6f00-488f-b69b-46d0534a8fa9.png
    Attached Files Attached Files
    Last edited by dsmith8; 02-20-2018 at 06:58 AM.

  2. #2
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,065

    Re: Countifs across tabs and every other column

    Use MOD(COLUMN(D7:Y7),2)=0 to identify even numbered columns starting at column D (4th column)

    You're better off posting a spreadsheet than an image, as for testing any solution we ALL have to reenter the data
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  3. #3
    Registered User
    Join Date
    02-20-2018
    Location
    Somerset
    MS-Off Ver
    2010
    Posts
    3

    Re: Countifs across tabs and every other column

    Quote Originally Posted by Special-K View Post
    Use MOD(COLUMN(D7:Y7),2)=0 to identify even numbered columns starting at column D (4th column)

    You're better off posting a spreadsheet than an image, as for testing any solution we ALL have to reenter the data
    I've edited the post to include a copy of the spreadsheet I basically want to fill the data in on the summary tab at the end.

  4. #4
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,065

    Re: Countifs across tabs and every other column

    Here's what I would do.
    On each tab place the totals column in BU so each tab has the same format (If you don't need all the columns up to BU (e.g. Arts and Crafts - hide the columns from V to BU, adjust as necessary on other tabs)

    In each tab in BV7
    =SUMPRODUCT(--(MOD(COLUMN(D7:BU7),2)=0)*(D7:BU7=3))
    copy down the column as far as BV1000 (allowing for 1000 pupils, choose less if you want)

    Sum the BV column in BV1001
    Now just sum each BV1001 cell on each tab using 3D Sum / 3D Reference

    Google Excel 3D SUM or 3D REFERENCE to see how to total the same cell over multiple sheets
    This should give you the figure you need.

  5. #5
    Registered User
    Join Date
    02-20-2018
    Location
    Somerset
    MS-Off Ver
    2010
    Posts
    3

    Re: Countifs across tabs and every other column

    Quote Originally Posted by Special-K View Post
    Here's what I would do.
    On each tab place the totals column in BU so each tab has the same format (If you don't need all the columns up to BU (e.g. Arts and Crafts - hide the columns from V to BU, adjust as necessary on other tabs)

    In each tab in BV7
    =SUMPRODUCT(--(MOD(COLUMN(D7:BU7),2)=0)*(D7:BU7=3))
    copy down the column as far as BV1000 (allowing for 1000 pupils, choose less if you want)

    Sum the BV column in BV1001
    Now just sum each BV1001 cell on each tab using 3D Sum / 3D Reference

    Google Excel 3D SUM or 3D REFERENCE to see how to total the same cell over multiple sheets
    This should give you the figure you need.
    That’s great! Is it now possible to use this with multiple criteria so for example if they are 3’s under Mid Term but also if C7:C51 is equal to 10 or 11 allowing me to break it down to year group?

  6. #6
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,065

    Re: Countifs across tabs and every other column

    Create a total for year 10 and one for year 11

    Try (untested)

    in BV7
    =SUMPRODUCT(--(MOD(COLUMN(D7:BU7),2)=0)*(D7:BU7=3))*(C7=10)

    in BW7
    =SUMPRODUCT(--(MOD(COLUMN(D7:BU7),2)=0)*(D7:BU7=3))*(C7=11)

    Copy down as before
    Sum the columns

    Do a 3D SUM for both totals.

+ 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. Replies: 6
    Last Post: 10-11-2017, 04:57 PM
  2. Countifs - date column by month & second column text value
    By Chelrie in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-27-2016, 04:33 PM
  3. countifs across multiple tabs
    By superchew in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-09-2014, 04:43 PM
  4. [SOLVED] Countifs across multiple tabs
    By mknispel in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-14-2012, 12:30 PM
  5. Replies: 9
    Last Post: 07-22-2012, 12:03 PM
  6. Replies: 0
    Last Post: 12-16-2011, 09:01 AM
  7. Replies: 2
    Last Post: 07-29-2010, 09:57 AM

Tags for this Thread

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