Excel: counting many occurrences as half an occurrence (.5)

cn117279

New Member
Joined
Jan 13, 2017
Messages
3
Hey guys!

I am new to MrExcel and I have a confusing question for you all.

I am working on an attendance tracker for work and we have a unique policy that for every 4 occurrences someone is late less then 25 minutes (tardy) they are given .5 a point towards their record I use "T" to identify it on the tracker.
So basically if they were tardy 3 three times, 0 points
tardy 4 times: .5 points
tardy 7 times still .5 points
tardy 8 times they would get one point​

I also needed to track if they were late over 25 minutes which I use "L" to identify. After a confusing couple of minutes I figured out a formula that works:

=SUMPRODUCT(COUNTIF($O11:$AS11,$K$8),{0.5})

(Cell K8 has the letter "L" in it)

I tired manipulating that formula to get to the other 4 occurrences formula but ended up more confused then when I started.


Anyways! I am still not able to figure out a formula for the '4 occurrences of T' equal to half a point (.5). Any help would be greatly appreciated! :):):)
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
The SUMPRODUCT isn't necessary.

Here's your Tardy formula:

=ROUNDDOWN((COUNTIF(O11:AS11,"T")*0.125)*2,0)/2
 
Upvote 0

Forum statistics

Threads
1,215,375
Messages
6,124,580
Members
449,174
Latest member
chandan4057

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