Microsoft Excel for PC Logo
Anonymous Posted on Apr 03, 2009

School Truancy Report Formula

Hi
I have a spread sheet on excel it is a school truancy report.
I want a formula e.g. if cells A1, A2, A3, A4 has the word George Washington School and I want would like cell A5 to show the total times as a number. So the number should be 4 because it was four visits as of cell A1, A2, A3, A4. Thanks

  • Anonymous Apr 03, 2009

    I need the answer in cell A5 to equal the number of time the school name appears. So the answer should be 4 because George Washington was repected in cells A1, A2, A3, A4

  • Anonymous Apr 03, 2009

    Yes..Another questions, 1.) if the school name changes, I would just substitue the school name. 2.)What if a new visit comes between A4 and A5, does it automatically add, or would I have to change the formuala.

    Thanks for your assistance

×

2 Answers

Anonymous

Level 2:

An expert who has achieved level 2 by getting 100 points

MVP:

An expert that got 5 achievements.

Governor:

An expert whose answer got voted for 20 times.

Hot-Shot:

An expert who has answered 20 questions.

  • Expert 62 Answers
  • Posted on Apr 03, 2009
Anonymous
Expert
Level 2:

An expert who has achieved level 2 by getting 100 points

MVP:

An expert that got 5 achievements.

Governor:

An expert whose answer got voted for 20 times.

Hot-Shot:

An expert who has answered 20 questions.

Joined: Mar 14, 2009
Answers
62
Questions
0
Helped
30138
Points
208

For the same exemple you can try this:
=COUNTIF(A1:A4,"=George Washington School")

  • Anonymous Apr 03, 2009

    I don't know what you mean by visits. But you can add rows in the range, even with different values, the formula will update - ie it'll continue to count cells =George Washington School. Try to see.

×

Anonymous

Level 2:

An expert who has achieved level 2 by getting 100 points

Hot-Shot:

An expert who has answered 20 questions.

Corporal:

An expert that has over 10 points.

Mayor:

An expert whose answer got voted for 2 times.

  • Expert 52 Answers
  • Posted on Apr 03, 2009
Anonymous
Expert
Level 2:

An expert who has achieved level 2 by getting 100 points

Hot-Shot:

An expert who has answered 20 questions.

Corporal:

An expert that has over 10 points.

Mayor:

An expert whose answer got voted for 2 times.

Joined: Apr 02, 2009
Answers
52
Questions
0
Helped
28580
Points
106

In cell A5
=COUNTIF(A1:A4,"George Washington School")

  • Anonymous Apr 03, 2009

    I believe that my solution did answer that. Did it not work in your spreadsheet?

  • Anonymous Apr 03, 2009

    You could reference the school in another cell - so that if the school changed your formula would also change.



    As far as the range is concerned, that's the first part of the formula (A1:A4) if you added a cell between A1 and A4 - it would automatically add that to the formula. However, if you added a cell at A5 that would not work. My suggestion is to have a "dummy" blank cell at a5 - and have the formula include that, so the formula would be =CountIF(A1:A5,"George Washington School") and then every time you needed to add a day, simply click on that dummy cell and insert a row.

×

Ad

Add Your Answer

×

Uploading: 0%

my-video-file.mp4

Complete. Click "Add" to insert your video. Add

×

Loading...
Loading...

Related Questions:

0helpful
1answer

How to create a formula for increase decrease percent in excel

If you have a number in Cell A2 (say 100), and you put the amount of percentage increase or decrease in Cell A3 (say -10%), then put this formula into Cell A4 to calculate the answer:
=A2*(1+A3) , which then shows as the answer (90).
1helpful
2answers

What are the formulas in grading the grades uisng microsoft excel

Formulas are used to specify calculations based on values in designated cells. Excel supports basic calculations as well as statistical, trigonometric and other specialized functions.

Formulas used in Excel must follow a certain syntax.

  1. All formulas begin with an equals sign (=).
  2. Some formulas use operands such as +,-, *,/ for addition, subtraction, multiplication or division.
    For example, the formula =A1+A2+A3 would add the contents of cells A1, A2 and A3.
  3. Other formulas refer to different functions such as SUM, AVERAGE and others.
    For example, the formula =SUM(A1:A3) would add the contents for the range A1 through A3.
  4. Formulas can be combined with operands.
    For example, the formula =10*SUM(A1:A3) would add the contents cells A1 through A3 and multiply them by 10.
  5. Functions can be nested within each other.
    For example, the formula =SQRT(10*SUM(A1:A3)) would take the square root of ten times the sum of cells A1 through A3. When functions are nested, it is important that the number of left parentheses match the number of right parentheses.
0helpful
1answer

Excel Formula

With data in A1 to C1: A2 =IF(A1>0,1,0) B2 =IF(B1>0,1,0) C2 =IF(C1>0,1,0) A3 =SUM(A2:C2)
7helpful
4answers

Using excel to solve problem by trial and error method

In A1, put a random value of d as 0.1. Then in B1, put your equation 5*d^4 - 10.29*d^(-1.333), wherein refer d as A1. Then use goal seek function on Tools Menu. First "Set cell" as B1, "To value" as 0.124 and "By Changing Cell" as A1. Excel will do the Trial & Error and will give you the answer in Cell A1.

Nilesh
0helpful
1answer

Excel formula

You can do that using the formula CONCATENATE, solving your report.
in C2 you could write: =CONCATENATE(A2,B2)
in C3 you could write: =CONCATENATE(A3,B3)
in C4 you could write: =CONCATENATE(A4,B4)
in C5 you could write: =CONCATENATE(A5,B5)
1helpful
1answer

What is data series in microsoft excel

The data series the the string of data you would like to have included in a formula or charted on a graph. For example, if you have data in cells A1, A2, and A3 and would like this data to be included in your formula or chart, it would be designated as A1:A3, translated as A1 through A3. This can most easily be accomplished by highlighting the data when the software is asking for the data series.
0helpful
2answers

What function can make a text/string BOLD?

Hi,
Try selecting a cell and right click, Format cells, Font - Bold the text the way you want it to appear in that cell and then let it be the value you want to appear when you select that cell as a solution to a "What If" statement.
I build training spread sheets that let people generate pre-programmed answers to various data entries. Answers appear like magic.
Glad to be of assistance - please rate the posting - I can learn from you.
0helpful
2answers

Formula for calculating the days beween months

for example, cell A1 has date (01-01-2008) and cell A2 has current date (08-24-2008) and cell A3 shows total days, is that you want to know? if yes, apply formula as under...

cell A3......(properties set as General to show digits)................ =SUM(A2-A1)
0helpful
3answers
0helpful
1answer

Copying data from one sheet to another if two fileds match

Nope, sorry, although I am truly an expert at Excel formulas, I do not understand what you are trying to end up with in the final cell. We can compare a specified field with two spreadsheets - use named ranges and index/match lookup formulas. But then where you really lose me is in reading "a generic field" to find a match, and then placing what "data from another field" into what "other sheet" - ? See the confusion?

Best way to compare 2 given parameters would be to use a nested if formula, with index/match combo. Here is a simple Excel example of how such a formula could be structured:

Sample Data (columnar arangement):
A1: Part B1: Code C1: Price D1: Find Part E1: Find Code
A2: x B2: 11 C2: 5.00 D2: y E2: 12
A3: x B3: 12 C3: 6.00 D3: y E3: 11
A4: y B4: 11 C4: 7.00 D4: x E4: 12
A5: y B5: 12 C5: 8.00 D5: x E5: 11

To retrieve the price for part y with code 12 and return the value to cell F2, type the following formula in cell F2:
=INDEX($C$2:$C$5,MATCH(D2,IF($B$2:$B$5=E2,$A$2:$A$5),0))

Press CTRL+SHIFT+ENTER to enter the formula as an array formula. The formula returns the value 8.00.

To take this one step further, with range names, this example will find one value at a specified location which matches a specific row header value and column header value. Let's say the range is home values (Range=HomeVal), Column A of HomeVal contains street addresses,"row headers" (Range=StAddress), and Row 1 contains dates of the various values that are in the body of the table, "column headers" (Range=Dates). To return the specific value from the range HomeVal to another sheet, where A1=address specified and A2=date specified:
=INDEX(HomeVal,(MATCH($A$1,StAddress,0)),(MATCH($A$2,Dates,0)))

Then make sure to press CTRL+SHIFT+ENTER to enter the formula as an array formula - if you only hit enter, these types of formulas will not work properly.

Please post back if you need further help, with more details, otherwise thank you for using and rating FixYa!
Not finding what you are looking for?

263 views

Ask a Question

Usually answered in minutes!

Top Microsoft Computers & Internet Experts

Grand Canyon Tech
Grand Canyon Tech

Level 3 Expert

3867 Answers

k24674

Level 3 Expert

8093 Answers

Brad Brown

Level 3 Expert

19187 Answers

Are you a Microsoft Computer and Internet Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides

Loading...