A formula to check on everyone's first day attendance

hakim_tanzil

Board Regular
Joined
May 10, 2012
Messages
56
Office Version
  1. 2019
  2. 2016
Platform
  1. Windows
Hi everyone,

date day name check
1/11/17 wed andy OK
1/11/17 wed carl OK
2/11/17 thu andy
2/11/17 thu brian OK
2/11/17 thu carl
3/11/17 fri brian
3/11/17 fri dan OK
4/12/17 mon andy OK
4/12/17 mon dan OK
5/12/17 tue andy
5/12/17 tue brian OK

I've been trying to populate a formula on column D to "OK" the first day of each attendance of every single months. Not an array formula nor any kind of VBA please, as me and all my colleagues are not familiar with any of those. Anyway, these are some of the formulas that I've tried and not working:
1. IF(A2=MIN(IF(C2=NAME;DATE));"OK";"")
2. IF(A2<=WORKDAY(EOMONTH(A2;-1)+1;1);"OK";"")
3. I tried to stick with a day, ex: Fri, but that didn't work out too
4. I've tried google and one page show CEILING formula but that didn't work out as well
5. My excel is still 2007, so no MINIFS feature like the one in 2016

So, truly if anyone could really help me on this, I'd greatly appreciated. Any thoughts or inputs are welcome
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
Try

D2 copied down
=IF(SUMPRODUCT(--(MONTH(A$2:A2)=MONTH(A2)),--(C$2:C2=C2))=1,"OK","")

M.
 
Upvote 0

Forum statistics

Threads
1,221,446
Messages
6,159,917
Members
451,603
Latest member
SWahl

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