• Skip to main content
  • Skip to header right navigation
  • Skip to site footer

My Online Training Hub

Learn Dashboards, Excel, Power BI, Power Query, Power Pivot

  • Courses
  • Pricing
    • Free Courses
    • Power BI Course
    • Excel Power Query Course
    • Power Pivot and DAX Course
    • Excel Dashboard Course
    • Excel PivotTable Course – Quick Start
    • Advanced Excel Formulas Course
    • Excel Expert Advanced Excel Training
    • Excel Tables Course
    • Excel, Word, Outlook
    • Financial Modelling Course
    • Excel PivotTable Course
    • Excel for Customer Service Professionals
    • Excel for Operations Management Course
    • Excel for Decision Making Under Uncertainty Course
    • Excel for Finance Course
    • Excel Analysis ToolPak Course
    • Multi-User Pricing
  • Resources
    • Free Downloads
    • Excel Functions Explained
    • Excel Formulas
    • Excel Add-ins
    • IF Function
      • Excel IF Statement Explained
      • Excel IF AND OR Functions
      • IF Formula Builder
    • Time & Dates in Excel
      • Excel Date & Time
      • Calculating Time in Excel
      • Excel Time Calculation Tricks
      • Excel Date and Time Formatting
    • Excel Keyboard Shortcuts
    • Excel Custom Number Format Guide
    • Pivot Tables Guide
    • VLOOKUP Guide
    • ALT Codes
    • Excel VBA & Macros
    • Excel User Forms
    • VBA String Functions
  • Members
    • Login
  • Blog
  • Excel Webinars
  • Excel Forum
    • Register as Forum Member

What is the proper function I should put in the "Statistics" or totals sheet?|General Excel Questions & Answers|Excel Forum|My Online Training Hub

You are here: Home / What is the proper function I should put in the "Statistics" or totals sheet?|General Excel Questions & Answers|Excel Forum|My Online Training Hub

vba course banner

Avatar
sp_LogInOut Log In sp_Registration Register
sp_Search Search
Advanced Search
Search
Forum Scope




Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
sp_Search Search
sp_RankInfo
Lost password?
sp_CrumbsHome HomeExcel ForumGeneral Excel Questions & Answe…What is the proper function I shoul…
sp_PrintTopic sp_TopicIcon
What is the proper function I should put in the "Statistics" or totals sheet?
Avatar
Abbas H
Member
Members
Level 0
Forum Posts: 8
Member Since:
September 27, 2018
sp_UserOfflineSmall Offline
1
September 27, 2018 - 11:16 am
sp_Permalink sp_Print

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

Avatar
SunnyKow
Puchong, Malaysia

VIP
Members


Trusted Members
Level 8
Forum Posts: 1432
Member Since:
June 25, 2016
sp_UserOfflineSmall Offline
2
September 27, 2018 - 1:29 pm
sp_Permalink sp_Print

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

Avatar
Abbas H
Member
Members
Level 0
Forum Posts: 8
Member Since:
September 27, 2018
sp_UserOfflineSmall Offline
3
September 27, 2018 - 10:03 pm
sp_Permalink sp_Print

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

Avatar
SunnyKow
Puchong, Malaysia

VIP
Members


Trusted Members
Level 8
Forum Posts: 1432
Member Since:
June 25, 2016
sp_UserOfflineSmall Offline
4
September 28, 2018 - 1:27 am
sp_Permalink sp_Print

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

Avatar
Abbas H
Member
Members
Level 0
Forum Posts: 8
Member Since:
September 27, 2018
sp_UserOfflineSmall Offline
5
September 30, 2018 - 8:31 am
sp_Permalink sp_Print

Dear Sunny

That's exactly what I want

Thank you so much

Best Regards

sp_Feed
Go to top
Forum Timezone: Australia/Brisbane
Most Users Ever Online: 245
Currently Online: Alain Balken
Guest(s) 11
Currently Browsing this Page:
1 Guest(s)
Top Posters:
SunnyKow: 1432
Anders Sehlstedt: 873
Purfleet: 414
Frans Visser: 346
David_Ng: 306
lea cohen: 222
Jessica Stewart: 216
A.Maurizio: 202
Aye Mu: 201
jaryszek: 183
Newest Members:
Melanie Ford
Isaac Felbah
Adele Glover
Hitesh Asrani
Rohan Abraham
Anthony van Riessen
Erlinda Eloriaga
Abisola Ogundele
MARTYN STERRY
Rahim Lakhani
Forum Stats:
Groups: 3
Forums: 24
Topics: 6356
Posts: 27793

 

Member Stats:
Guest Posters: 49
Members: 32324
Moderators: 3
Admins: 4
Administrators: Mynda Treacy, Philip Treacy, Catalin Bombea, FT
Moderators: MOTH Support, Velouria, Riny van Eekelen
© Simple:Press —sp_Information

Sidebar

Blog Categories

  • Excel
  • Excel Charts
  • Excel Dashboard
  • Excel Formulas
  • Excel PivotTables
  • Excel Shortcuts
  • Excel VBA
  • General Tips
  • Online Training
  • Outlook
  • Power Apps
  • Power Automate
  • Power BI
  • Power Pivot
  • Power Query
microsoft mvp logo
trustpilot excellent rating
Secured by Sucuri Badge
MyOnlineTrainingHub on YouTube Mynda Treacy on Linked In Mynda Treacy on Instagram Mynda Treacy on Twitter Mynda Treacy on Pinterest MyOnlineTrainingHub on Facebook
 

Company

  • About My Online Training Hub
  • Disclosure Statement
  • Frequently Asked Questions
  • Guarantee
  • Privacy Policy
  • Terms & Conditions
  • Testimonials
  • Become an Affiliate

Support

  • Contact
  • Forum
  • Helpdesk - For Technical Issues

Copyright © 2023 · My Online Training Hub · All Rights Reserved. Microsoft and the Microsoft Office logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries. Product names, logos, brands, and other trademarks featured or referred to within this website are the property of their respective trademark holders.