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

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
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
MTWThF
12345
LLL

<tbody>
</tbody>
 
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,215,219
Messages
6,123,680
Members
449,116
Latest member
HypnoFant

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