Formula for attendance tracker

Juliens

New Member
Joined
Sep 20, 2018
Messages
8
Hi All,


I am trying to make a basic attendance for our school and would like to ask on how do I go about this;

If I am to put "L" in a cell (which means Late), it will count or display it as 1 (meaning the student has incurred 1 Late). And if I am to put "LL" (meaning the student incurred two lates, 1 in the morning and 1 in the afternoon in the same day) it will count or display it as 2?


Thank you and looking for all of your feedback.
 

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
Re: Need HELP on formula for attendance tracker

I have gotten hundreds of replies with help here and this is the first time I have seen a question that I might be able to help with.
Try this:
=IF(A1="L",1,IF(A1="LL",2,""))
This is assuming that L or LL is being typed in cell A1.
 
Upvote 0
Re: Need HELP on formula for attendance tracker

Hey Russk68 thanks for this prompt reply! You really helped me with this one :). But question, can that be applicable if the cell in A1 is in range? say...

=IF(A1:J1="L",1,IF(A1:J1="LL",2,""))

Can't try it right now since I am away from my desk.

Thanks again!
 
Upvote 0
Re: Need HELP on formula for attendance tracker

no it wont....it will return error
 
Last edited:
Upvote 0
Re: Need HELP on formula for attendance tracker

So how do I go about it? I should have included that criteria on my first post - sorry about that.
sort of like this...

B1 C1 D1 E1 F1[TABLE="width: 130"]
<tbody>[TR]
[TD]M[/TD]
[TD]T[/TD]
[TD]W[/TD]
[TD]Th[/TD]
[TD]F[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]2[/TD]
[TD]3[/TD]
[TD]4[/TD]
[TD]5[/TD]
[/TR]
[TR]
[TD]L[/TD]
[TD]LL[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
 
Last edited:
Upvote 0
Re: Need HELP on formula for attendance tracker

I'm a little confused.
Is row 2, where the numbers are, the formula result from the L's in row 3?
 
Upvote 0
Re: Need HELP on formula for attendance tracker

Based on Russk68's IF formula you could add the SUM function to it forming an array formula.

This formula must be entered with CTRL-SHIFT-ENTER.
Excel Workbook
ABCDEFG
1MTWThF
212345
3LLL3
Sheet
 
Upvote 0
Re: Need HELP on formula for attendance tracker

WOW!

Thank you very much AhoyNC! That did it for me.
As I am a noob in excel, I'm beginning to appreciate this forum and all the helpful people in here.

Thanks also to those who's involved in this thread. I really appreciate it guys!:)
 
Upvote 0

Forum statistics

Threads
1,223,897
Messages
6,175,271
Members
452,628
Latest member
dd2

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top