#1   Report Post  
Posted to microsoft.public.excel.misc
JJP JJP is offline
external usenet poster
 
Posts: 5
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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,696
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

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 05:32 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"