Counting Number Of People In Each Class And Taking Tests

Nov 18, 2011

Formula that counts the number of people who are on my course and are taking their tests.

I have 5 classes, Class1, Class2, Class3, Class4 & Class5.

Column A details which class the pupil is in.

Column B details the pupils name.

Column C details the state of the course. This is either a DATE which they started, or "Paid" (they have paid for the course but not started), "Not Paid" (havent paid for course and havent started) or "In Progress" (Payment is in the process of being arranged).

Column D details the state of their final exam. This is either a DATE as to which they have finished and passed the exam, "Not Taken Yet" (Havent taken the exam yet) or "Fail" (They failed the exam).

This is where I am having problems, at the top of my sheet I want to summarise each classes statistics, but I am having problems with the COUNTIF. For example:

What formula can I use to add up the number of people in each class who have started the course?

E.g.
=countif(C10:C100," Is a Date ? ") AND is in Class1 ?

What forumla can I use to add up the number of people in each class who haven't passed the test ?

E.g.
=Countif(D10:D100,"Not Taken Yet" & "Failed") AND is in Class2 ?

I know I need an array to work this out.

And finally to really complicate things how about :

People in each CLASS who have STARTED the course (Date in C) AND haven't passed their test (Col D). I understand this is relying on a three part array whereas the others are 2 parts ?

View 7 Replies


ADVERTISEMENT

Count The Number Of People Under Each Class

Jul 4, 2008

I want to do is to count the number of people under each class, eg. 2300 - primary, 3 ppl, but i gt many many classes in my spreadsheet, do u all have solution for me using VBA

SAMPLE DATA:

2300 - primary
amy
ben
alex

1234 - secondary
Linda
tom
Jerry
Tricia
Mabel

5603 - advanced
Linda
tom
Jerry
Kevin
Calvin

View 9 Replies View Related

Counting The Number Of Extra People Working Each Hour?

Aug 19, 2014

I am trying to count the number of extra people scheduled for each hour of the day, from 2 dropdowns in A3:B7

The formula in (1) D11:D26 works, but when the shift passes over the midnight it will not count accurately.

The formula in (2) E11:E26 also works well, but only counts the number of times a particular hour is mentioned, but not the number of extras in C3:C7.

The results in (3) F11: F26 are what I need, which is based on looking at the times from the dropdowns and using the number of extras in C3:C7.

View 2 Replies View Related

Excel 2007 :: Spreadsheet For Taking Class Attendance?

Sep 10, 2013

I've got an Excel 2007 spreadsheet that I want to use to take the attendance in the school where I teach. I've got it more or less the way I want it, but there are 2 improvements I'd like to make:

1. I don't want to have press Enter to go down to the next cell. If a kid is present, I want to press 'p' and automatically be one cell lower.

2. When I open the spreadsheet (which contains multiple worksheets for different classes), I'd like it to open at today's date on the left regardless of which worksheet I go to (I've frozen the first four columns, so I'd like 'today's column' to appear next to them). I've put the dates in row 1. I've put the dates in the format ddd, d/m/y. (I don't know if that info makes any difference, hence I'm including it). I've already looked up some posts on this and copied and pasted a few different suggestions, but none worked.

View 14 Replies View Related

Listbox Resize Depending On The Number Of Tests

Aug 9, 2006

I have a form in which a user pastes test names into a certain column of a spreadsheet. I have a listbox (not an ActiveX control) where I want the tests to be displayed. I want to resize the listbox depending on the number of tests pasted in-depending on where the last row is in this column of test names. Is there a way to do this automatically when the user pastes a new test set in the spreadsheet?

View 2 Replies View Related

Track The Number Of People From Each Zip Code

Jun 28, 2009

I have a workbook with a sheet for each day of the month where guest information is entered. There is a column for each item. There is a summary sheet that summarizes the number of members, guests etc. One thing I would like to track is the number of people from ech zip code.

View 9 Replies View Related

Count The Number Of People Per Classification Between Two Dates

Apr 21, 2014

Count people per their classification between two dates. Spreadsheet attached.

The answer I need to show in column (S) is:
Cell (S4) = 1 (supervisor)
Cell (S24) = 1 (fitter)
Cell (S36) = 3 (rigger)
j906 count.xlsx

View 1 Replies View Related

Taking Number In Between For Interpolation

Jun 16, 2014

I need to take number in between cells. For example, I have numbers 1, 2, 3, 4, 5, 6, 7. When I type 5 in a column, I want to have 4 and 6, above and below 5. I am doing this to ease interpolation, so that whenever I want to do interpolation, I just need to type what number, I would like to have to be interpolated.

Attached file is the example : Matic Interpolation.xlsx‎

View 5 Replies View Related

Taking Numbers Out Of A Number

Sep 5, 2007

what I have is a spread sheet of over 3000 numbers.

Now this is what the number looks like:

0000123456000

what I need is basically a formula or something to take out the zeros (They are not really zeros on the spreadsheet, its just an example to make it easier to display). And leave the six digits in the middle. Is this possible?

View 10 Replies View Related

Taking Next Highest Number

May 31, 2007

I have a dilemma. What I want to do is: If I input a date in a cell I want the adjacent cell to take the next highest number from a list on another worksheet. My example attached

View 3 Replies View Related

Taking Number And Turning It Into Time

Feb 20, 2009

I have created a simple spreadsheet to keep track of work hours. I simply enter in each days hours and then I get a total. I have each cell formatted for time (hh:mm). However it is annoying to have to type in the colon for each days time.

Is there a way I can just type in the three digits '9,3,0' into the cell and have it come out as '9:30'?

View 9 Replies View Related

Function Allows For 3 Logical Tests

Oct 11, 2008

I am working on a homework assignment, the books method was crap so I did my own method. I am almost done except for 1 last thing. I cannot find any function that will allow for 3 logical tests. I have a screen shot here explaining what I need to happen.

View 2 Replies View Related

Logical Tests For Cells E5 And E6

Nov 4, 2008

I inserted the following logical tests for cells E5 and E6. I saved the workbook with SE(B) in cell G3.

View 3 Replies View Related

Array Formula: List The Number Of A Specific Class For A Particular Month (any Day)

Dec 30, 2009

I'm having difficulty creating an array formula. In a multi-column sheet, I am looking at a column with classes and a column with a date (in the format 7-Oct-09). I need to list the number of a specific class for a particular month (any day). I have tried the following which gives only the number of classes:
=COUNTIF(A4:A2500,"AA")+COUNTIF(H4:H2500,"10/??/09") and
=SUM((A4:A2500="AA")*(H4:H2500="??-Oct-??")) which gives me 0. Maybe an array formula is not the way to do this.

View 9 Replies View Related

Formatting Alerts For Tests Coming Due

Jun 16, 2014

I'm trying to format a worksheet to show a one year due date with an alert 30 days out so that I can complete the task before the date due. I am using this for a preventative maintenance sheet for respiratory protection equipment that needs to be serviced annually. For instance; if I service a mask today the next service will be in one year. I'd like it to alert me 30 days out. If I could get that alert through outlook that would be fantastic.

View 5 Replies View Related

How To Do Two Logical Tests For A Conditional Statement

Feb 12, 2009

How do you do two "if" statements?

I need to have two tests before i get a final result so i need to know the protocal to get two if statements.

View 14 Replies View Related

Case In VBA: Code Tests A Value In Column

Oct 12, 2008

I have a rather frustrating issue that dates a few months back, so I hope to solve it today. The following code tests a value in Column A. If the value is between 1-5 or equal to 11, column B will return the string A. It works.

View 3 Replies View Related

Counting The Number Of Times A Multi Digit Number Appears

Nov 22, 2007

I've tried everything I know (which isnt that much to be honest. lol). Ive tried the frequency formula but that doesn't work the way I want it - I think its probably the wrong formula to use. I've also tried a pivot table but they always vex me. If a pivot table IS the way to go, could someone talk me through it step by step? (*the wizard is just as confusing as doing it yourself I find) ....

View 9 Replies View Related

Basic IF Function With Multiple Logical Tests

Jul 10, 2014

Basically, I'm trying to calculate a pooled z-score from z-scores already stored in different cells.

Each individual z-score are calculated like this :
D1=IF(A1=999,999,((A1-10)/3)).

They are derived from standard scores with a mean of 10 and a SD of 3. I use 999 to mark missing values and this work flawlessly for single z-score cells.That way, if A1 is a missing value (999), Excel returns a value of 999.

Now here's my problem. How do I tell Excel to ignore 999 values if I am pooling multiple z-scores together?

Let's say A1, B1 and C1 are single z-scores. I want D1 to be the pooled z-score result, but I want it to ignore A1,B1 and/or C1 if their value is 999. For instance, if A1=+2.0 , B1 = 999 and C1= -1.50, I want my D1 cell to ignore B1 in the calculation.

I've tried : D1=IF(A1,B1,C1=999,999,(LC5+LI5+IK5)/3)) but it sure doesn't work...

View 7 Replies View Related

Extract Data Based On Logical Tests

Sep 1, 2006

I have a set of data in two columns, i.e. 1) dates and 2) names. Now I would like to post in the third column the name "x" if there is more than 2 years (or 730 days) between the current and the previus observation for name "x".

More specifically:
I would like the code/ function to always include the first "new" name then: 1) check whether subsequent names are equal, if equal; 2) check whether the difference between each obervation and the first "same" name is more than 730 days. The code should also always consider every observation with more than a 730 days difference as a "new beginning" for that specific name.

I have tried to use IF and OR functions but the function becomes too long and it does not quite solve the whole problem. Problems with my function occurs when the names change in column two. That is, my function is not able to distinguish between dates that belong to the same name and dates that belong to different names, when performing the second logical test.

I have attached a short example of my data. The problem is solved manually in the example file, just to give a better picture of what I am actually trying to do (I have a few thousand rows in my real file).

View 3 Replies View Related

Class Modules: Class Object Can I Visually See It

Jul 23, 2009

i've reached a point where i would like to learn more about class modules but i have no resources. When i create a Class object can i visually see it? i want to know as i'm looking to use them within userforms if possible

View 4 Replies View Related

Counting The Number Of Occurrences Before The Current Week Number?

Jul 10, 2014

I have a spreadsheet for tracking jobs. Most everything is based off of week # rather than date. I am trying to get the stats page of the workbook to tally the total number of late jobs per week.The current week is taken care of because there is a function that automatically displays on time yes or no and I just set it to count the yeses or nos.The problem I am having is for past weeks.

I tried- =COUNTIF(Table2[On-time],"No"+(CountIF(Table2[Week # Hidden],"<Weeknum(Now())" but that doesn't work. I also tried isolating the < like this. =COUNTIF(Table2[On-time],"No"+(CountIF(Table2[Week # Hidden],"<"Weeknum(Now()) and that did not work either.

------ UPDATE

In response to using CountIFS I have also tried-

=COUNTIFS(Table2[On-time],"NO",Table2[Due Week '# Hidden],"<Weeknum(Now())") this just returns a zero value even when I have a late job listed three weeks ago.

View 10 Replies View Related

Class With Property As Collection Of Another Class

Nov 25, 2008

I've created a class called CStock. It has 5 standard properties (with Get/Let methods) as explained in that article above. Nothing fancy here.

I also want to create a CPortfolio class that has 3 properties: pName, pNumberofPositions, and pHoldings. the first 2 are stardard, but the last one is different. I want it to somehow keep a collection of stocks.

View 10 Replies View Related

Class Module Is Collection Of Other Class

May 24, 2006

I've created two modules, card and pack. Card has three variables (value, name, suit) and pack is made up of an array of 52 cards. Referencing it from a test module (NOT a class module) I expected to be able to use debug.print pack.card(32).suit to return the suit of the 32nd card. Instead I get an error message "Object or With variable not set". What am I doing wrong

Private p_strSuit As String
Private p_strName As String
Private p_iValue As Integer
Public Property Let Suit(strSuit As String)
p_strSuit = strSuit
End Property

Public Property Get Suit() As String
Suit = p_strSuit
End Property

Public Property Let Name(strName As String)
p_strName = strName
End Property......................................

View 7 Replies View Related

Counting Number Of Cells With Same Number

Jan 5, 2007

I need to know wich formula or VB method, I have to use to count the number of cases in a range of colomns and rows C4:G107, have the same number. For eaxample how many times do I have number 1 and so on...

View 9 Replies View Related

Counting The Number When You Have A Number And Text

May 23, 2006

I have a column for EE or SP and a column that has an amount of insurance
coverage like 10,000 etc.

I want to count the total number of EE have that level or type of coverage

My columns are like this:
C1 EE K1 10,000
CE SP K2 200,00

I have tried numerous formulas from the various discussions and I can't find
any that works.

View 11 Replies View Related

Counting The Number That Comes From A Destignated Number

Dec 23, 2006

How do I create a formula that will count the number of times in F7:H106,
where the number "0" occurred and had a value of "1" to occur
in the previous row in the range, if no number "1" in previous row
then ""

examples

if G22=0 and G21=1, then count 1

if G12=0 and G11=1, then count 1 more

View 9 Replies View Related

Counting Number Of Cells

Mar 24, 2014

My data is as follows:

Month 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
Number of Starts 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10
Rolling Number of Cases 10 20 30 40 50 60 70 80 90 100 110 120 120 120 120 120 120

In my dataset above the cases finish after 12 months (hence why there is a maximum number of cases).

What I am seeking is a method to count along a certain number of cells, then sum the contents of those. For example, I would like to count the contents of up to 12 cells, then sum those 12 cells.

Where it gets difficult is as follows:

- In month 6, I am just counting the contents of 6 cells (months 1-6)
- In month 12, I am counting the contents of 12 cells (months 1 -12)
- In month 18, I am counting the contents of 12 cells (month 7 - 18)

View 5 Replies View Related

Counting Distance Between Number 1

Mar 27, 2014

I need a formula, from which I need to drag (if needed) and to fill with numbers, by following principles:

- when the left cell contain the zero, it needs to find on the same column if there exists another zero, or another one and count them, let's say if find three zeros untill find number one, return 3.
- when find a number 1, after another 1, has to return a zero.
- the formula need to initialise from the top of the column, only finds the first number 1.

I have a relevant example down bellow. I used to count them visually and sometimes errors sneak into my spreadsheets.

View 5 Replies View Related

Counting Number Of Each Letter

Aug 14, 2013

I have a table like this.........

Item Code
Ice A
Ice A
Ice B
water D
water A
water C
water A
milk B
milk D
milk C
milk C
milk C
milk B

And I would like to count the number of each letter to look like........
_______ A B C D
Ice ___ 2 1 0 0
water _ 2 0 1 1
milk ___0 2 3 1

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved