• 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
    • Password Reset
  • Blog
  • Excel Webinars
  • Excel Forum
    • Register as Forum Member

Multi Step Cell Specific Percentage|General Excel Questions & Answers|Excel Forum|My Online Training Hub

You are here: Home / Multi Step Cell Specific Percentage|General Excel Questions & Answers|Excel Forum|My Online Training Hub
Avatar
sp_LogInOut Log In sp_Registration Register
sp_Search Search
Advanced Search|Last Search Results
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…Multi Step Cell Specific Percentage
sp_PrintTopic sp_TopicIcon
Multi Step Cell Specific Percentage
Avatar
Jacqueline Rich
United States

Active Member
Members
Level 0
Forum Posts: 4
Member Since:
September 20, 2019
sp_UserOfflineSmall Offline
1
September 20, 2019 - 11:31 pm
sp_Permalink sp_Print

I am looking to figure out how to have excel do a calculation for me that I do not have to do manually. In my data set, Column E, On-Task Behavior, is a dichotomous yes/no text. Column G, Classroom Structure, is a group of 4 different options. The options are small group, whole group, participation, and independent. I want to know when the class is in one of the four structures (i.e., whole group) what percent of the time the student is on-task. So, I only want excel to count the cells with yes is Column E that correspond the Column G whole group. I am not sure what the formula needs to look like. I can do it manually or create columns for every step in the equation, but I would like to save space and just have it as one equation. Please advise. 

sp_AnswersTopicSeeAnswer See Answer
Avatar
Mynda Treacy
Admin
Level 10
Forum Posts: 4450
Member Since:
July 16, 2010
sp_UserOfflineSmall Offline
2
September 21, 2019 - 9:31 am
sp_Permalink sp_Print

Hi Jacqueline,

Welcome to our forum!

You can use the COUNTIFS function to count the number of students that have "Yes" in column E AND match the classroom structure you want to count, divided by the count of all students in the group. e.g. for Whole Group:

=COUNTIFS(Table1[Classroom Structure],"Whole Group",Table1[On-taskB Behaviour],"Yes")/COUNTIF(Table1[Classroom Structure],"Whole Group")

Mynda

sp_AnswersTopicAnswer
Answers Post
Avatar
Jacqueline Rich
United States

Active Member
Members
Level 0
Forum Posts: 4
Member Since:
September 20, 2019
sp_UserOfflineSmall Offline
3
September 28, 2019 - 1:33 am
sp_Permalink sp_Print

Okay, so I rearranged the spreadsheet to be more visually friendly. Is there a way to show you what I need help with? Maybe I am not explaining it properly. The equation =COUNTIFS('Sheet1'!D7:AF7,"Whole Group",'Sheet1'!D5:AF5,"Yes")/COUNTIF('Sheet1'!D7:AF7,"Whole Group") works if I only need On-Task beahvior during Whole Group, but I also need On-Task behavior with Work Progress during Whole Group.

 

I'm having a hard time figuring out how to tell it AND. Both On-Task and Work Progress must be indicated as "YES." =COUNTIFS('Sheet1'[Classroom Structure],"Whole Group",'Sheet1'[On-Task],"Yes" AND 'Sheet1'[Work Progress], "YES")/COUNTIF('Sheet1'!D7:AF7,"Whole Group").

 

Please advise

Avatar
Mynda Treacy
Admin
Level 10
Forum Posts: 4450
Member Since:
July 16, 2010
sp_UserOfflineSmall Offline
4
September 28, 2019 - 7:38 am
sp_Permalink sp_Print

It sounds like your data is not in a tabular format. Are you able to upload a sample Excel file so we can help you further?

Avatar
Jacqueline Rich
United States

Active Member
Members
Level 0
Forum Posts: 4
Member Since:
September 20, 2019
sp_UserOfflineSmall Offline
5
October 1, 2019 - 12:10 am
sp_Permalink sp_Print

Intervention Data

This is a link to my data set. I only have a few days of data in there since I can't figure out how to calculate everything electronically. 

Avatar
Mynda Treacy
Admin
Level 10
Forum Posts: 4450
Member Since:
July 16, 2010
sp_UserOfflineSmall Offline
6
October 1, 2019 - 3:19 pm
sp_Permalink sp_Print

Thanks, but I can't open the link. I've requested access. Hopefully you've received a message to that effect and can approve it.

Mynda

Avatar
Jacqueline Rich
United States

Active Member
Members
Level 0
Forum Posts: 4
Member Since:
September 20, 2019
sp_UserOfflineSmall Offline
7
October 1, 2019 - 10:45 pm
sp_Permalink sp_Print

okay, try this one. It should work now. I wrote comments in on the data sheet. I really really appreciate all the help I can get on this. 

Avatar
Mynda Treacy
Admin
Level 10
Forum Posts: 4450
Member Since:
July 16, 2010
sp_UserOfflineSmall Offline
8
October 3, 2019 - 10:53 am
sp_Permalink sp_Print

Hi Jacqueline,

Ah, I see it's Google Sheets, not Excel. We don't support Google Sheets questions, but since this is a copy of an Excel function, you can use this formula:

=COUNTIF('Elias B.'!D21:AF21,"yes")/counta('Elias B.'!D21:AF21) 

 

i.e. count all text in cells D21:AF21

Mynda

sp_Feed
Go to top
Forum Timezone: Australia/Brisbane
Most Users Ever Online: 245
Currently Online: Catalin Bombea, Ramon Lagos
Guest(s) 7
Currently Browsing this Page:
1 Guest(s)
Top Posters:
SunnyKow: 1432
Anders Sehlstedt: 871
Purfleet: 412
Frans Visser: 346
David_Ng: 306
lea cohen: 219
Jessica Stewart: 205
A.Maurizio: 202
Aye Mu: 201
jaryszek: 183
Newest Members:
stuart burge
Bruce Tang Nian
Scot C
Othman AL MUTAIRI
Misael Gutierrez Sr.
Attif Ihsan
Kieran Fee
Murat Hasanoglu
Brett Dryland
Saeed Aldousari
Forum Stats:
Groups: 3
Forums: 24
Topics: 6223
Posts: 27295

 

Member Stats:
Guest Posters: 49
Members: 31920
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.