Forum

Notifications
Clear all

What is the proper function I should put in the "Statistics" or totals sheet?

5 Posts
2 Users
0 Reactions
59 Views
(@abuelia)
Posts: 8
Active Member
Topic starter
 

Hi
I am a student, I have an Excel file called "Attendance" I use it to record attendance data and absence of lectures at the university.
The Excel file contains 15 sheets, each sheet containing attendance data and absence for one week
Each sheet used to record the attendance or absence data (1 or 0) of each lecture, in addition to the sheet "statistics" which I use it to put the totals of attendance and absence.

What is the proper function that I should put in the "Statistics" sheet in which I can know the number of absences for each lecture?

I attached the Excel file

Best Regards,
AbuElia

 
Posted : 27/09/2018 9:16 pm
(@sunnykow)
Posts: 1417
Noble Member
 

Hi AbuElia

As long as your worksheets formats are consistent, you can use 3-D referencing.

To create a formula with a 3-D reference in the argument, perform the following steps:

  1. Click the cell where you want to enter your 3D formula.
  2. Type the equal sign (=), enter the function's name, and type an opening parenthesis, e.g. =SUM(
  3. Click the tab of the first worksheet that you want to include in a 3D reference.
  4. While holding the Shift key, click the tab of the last worksheet to be included in your 3D reference.
  5. Select the cell or range of cells that you want to calculate.
  6. Press the Enter key to complete your Excel 3-D formula.

Hope this helps

Sunny

 
Posted : 27/09/2018 11:29 pm
(@abuelia)
Posts: 8
Active Member
Topic starter
 

Hi Sunny

Thank you for your kind reply

I want to use SUMIF

because my goal is to count number of 0's cells

I want something like: =SUMIF('1:15'!B2;"=0";'1:15'!B2)

 

Thanks

 
Posted : 28/09/2018 8:03 am
(@sunnykow)
Posts: 1417
Noble Member
 

Since you only want to count cells with a 0 (excluding blank cells and cells with text) then in cell B2 of the Statistics sheet, enter

=COUNT('1:15'!B2)-SUM('1:15'!B2)

Copy the formula to the other cells.

Explanation:

COUNT('1:15'!B2) will count the number of numeric cells only (0's & 1's excluding blanks and text)

SUM('1:15'!B2) will sum numeric cells only. This will give the cells containing 1's

The difference between the two is the number of 0's

Hope this helps.

Sunny

 
Posted : 28/09/2018 11:27 am
(@abuelia)
Posts: 8
Active Member
Topic starter
 

Dear Sunny

That's exactly what I want

Thank you so much

Best Regards

 
Posted : 30/09/2018 6:31 pm
Share: