A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

If then and more



 
 
Thread Tools Display Modes
  #1  
Old October 27th, 2009, 05:11 PM posted to microsoft.public.excel.misc
JJP
external usenet poster
 
Posts: 20
Default If then and more

Good Morning Everyone,

I am in the process of creating an excel spread sheet that will be used to
track student tardiness. To this point I am using the following formula to
=COUNTIF(B2:F2,"N") which is working rather well.

1. Does this type of formula work well when the name of students changes from
day to day?

2. Also, would this formula track tardiness from sheet to sheet?

Please Advise

  #2  
Old October 27th, 2009, 05:46 PM posted to microsoft.public.excel.misc
Sean Timmons
external usenet poster
 
Posts: 1,722
Default If then and more

Presumably, student names are in B1 - F1 or B3 - F3?

Wouldn't matter in the leat.

I would change the formula to:

=COUNTIF(B:F,"N")

to ensure all records are found regardless of class size.

As to counting acrsoss sheets, you have two options..

If you have sheet names of say: Sheet1, Sheet2, Sheet3, etc, it's easier.

=SUMPRODUCT(COUNTIF(INDIRECT("'Sheet" &ROW(1:10) &"'!B:F"),"N"))

should get you there.

If the sheets have unique-type names, you'll have to use a helper column.

Say, column H, enter your sheet names down the column starting in row 1:

=SUMPRODUCT(COUNTIF(INDIRECT(H1:H10&"'!B:F"),"N"))

"JJP" wrote:

Good Morning Everyone,

I am in the process of creating an excel spread sheet that will be used to
track student tardiness. To this point I am using the following formula to
=COUNTIF(B2:F2,"N") which is working rather well.

1. Does this type of formula work well when the name of students changes from
day to day?

2. Also, would this formula track tardiness from sheet to sheet?

Please Advise

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 05:26 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.