Hello everyone
I have a table that consists of date, name, company name, an absence.
in the absence filed there is numbers 0 and 1(for absence).
I would like to see who has an absence of more than 3 consecutive meetings.
Can anyone help me how to do it? Whether by the date whether by absence?
Excel formula or VBA.
I'm going crazy, so I would appreciate anyone who could only help
Thanks in advance
Raz
Maybe this:
=SUMPRODUCT(J3:J26, J4:J27, J5:J28) will bring you number of absences...
Or =SUMPRODUCT(J3:J26, J4:J27, J5:J28)>0 will return TRUE if there was an absence... otherwise FALSE.
"Relax. What is mind? No matter. What is matter? Never mind!"
thenx for the quick reply
but i actually want to chek if the absence heppend 3 times in a row
And this doesn't work?
please check example and say what you would like to get for your result:
"Relax. What is mind? No matter. What is matter? Never mind!"
i will try to expline better.
i would upload the file but i can't, and its in another langue so you problaly wont understand the file anyway
ether way
i have a list of meeting.
in that list
i have companies and in each company there is a number of people(i have the same people in sevrel companies).
an a date of the meeting and if that person was absence or not.
i need to flag to myself(for reports later on) for each person in a company that have more then 3 consecutive absences in a quarter.
if the absences is 3 but not consecutive i don't care.
do i make myself any more reasonable? :/
I see you speak english very well to create one small example workbookNo need to upload whole original data... Just what's important for your issue.
"Relax. What is mind? No matter. What is matter? Never mind!"
ok your right
in the file i upload i want to flag
that for person 1
he have 3 consecutive absence in a row...
but if i had another date in between(like the 3/9 ) with 0 instead of 1. then it won't flag me..
make any sense?
OK... What now person1 have 3 absence (and 0 presence)...
Bu if person1 would have 2 absence then 1 presence then again 2 absence it won't mark it? right?
"Relax. What is mind? No matter. What is matter? Never mind!"
nop.... only 3 in a row....
i guess it's more difficult then i thought so
ohhh i'm sorry zbor, i didn't read it correctly... your were right.. it wont mark it
I can't find any simplier solution... try this with extra column.... TRUE is where it repeats (Conditional formating is based on that cell)...
Also, no need for two column (presence and abesnce) since they are complementar)....
it was hard for me to work from right to left so I switch.. hope you will be able to see how it work...
"Relax. What is mind? No matter. What is matter? Never mind!"
wow thats great
but i have few questions..
why do i get #num! in some fields?
and what does the formula does ? run the entire range and look for a series of 3 1's in a row? for the same person?
You're a genius, i can't thank you enough
and one more thing
can i get it to run for each quarter speardly?
for example if i had a lot more names in the list and much more dates
so that the run will go on each quarter and a year?
You get NUM because it look for 3rd highest value. If there is no 3 dates it will return error...
Obviously, none person can't miss 3 times if there were 2 meetings so it doesn't consider it.
I need to check.. I'm affraid that it won't work if all users are not at all meetings.. but I don't have time to check anymore so I hope someone else will look at it... please test and return workbook where it's fault so we can test it closly...
"Relax. What is mind? No matter. What is matter? Never mind!"
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks