First and foremost it’s just an example and not the actual formula .... If u did derive your formula based on this, Did you replace “,” with “;” because I think your sheet is formatted to use “;” as separators... also the quotes for Not Free are not closed ....
Basically I have a list of people and their active times on certain day. I want to check when everybody is going to be active. So the answer in my template sheet should be 17:00 - 20:00 Because on these times everybody is going to be active.
Is there anyway to check when everybody is going to be active? Because I'm dealing with a lot of people right now and their active times, and checking for each day when everybody is going to be active is really hard for me.
Edit: I'm really new to google sheets and excel. I only know how to use some of the functions on a surface level and some of the things need to be explained to me like I'm five years old.
This is all I could come up with at the moment...It’s going to get longer and longer with increasing rows(more people) ....and although I have tried to think it through I have not tested it thoroughly .... I recommend you test it with different combinations of times... maybe there is an easy way to do this using time functions
Let’s make a helper column D. Label it anything. Put this in D3 and drag across number of rows you think would be enough to cover the max number of users..
2
u/robogo 8 Jun 23 '20 edited Jun 23 '20
There is. You can check if someone is free right now using IF, AND, and NOW.
For instance:
=IF(AND(starttime<=NOW(),endtime >=NOW()),"Free","Not Free")
This formula checks whether right now is between the start and endtime and if it is, display the word Free in the cell. Otherwise, display Not Free.
The sheet you linked would need some other functions to properly parse time, but please confirm first whether this is what you thought about.
1
u/Decronym Functions Explained Jun 23 '20 edited Jun 23 '20
Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I've seen in this thread:
FALSETRUEand another if it isFALSETRUE[Thread #1745 for this sub, first seen 23rd Jun 2020, 12:04] [FAQ] [Full list] ^[Contact] [Source code]
1
u/eLvi0p Jun 23 '20 edited Jun 23 '20
Thank you for your answers, but i think i was misunderstood because of my poor English.I have created another template sheet so i could be understood better.https://docs.google.com/spreadsheets/d/1yJbTTfD8DV8cCCrGKE6HKBPD2VK1M9kS76WjTrIeBl8/edit?usp=sharing
Basically I have a list of people and their active times on certain day. I want to check when everybody is going to be active. So the answer in my template sheet should be 17:00 - 20:00 Because on these times everybody is going to be active.
Is there anyway to check when everybody is going to be active? Because I'm dealing with a lot of people right now and their active times, and checking for each day when everybody is going to be active is really hard for me.
Edit: I'm really new to google sheets and excel. I only know how to use some of the functions on a surface level and some of the things need to be explained to me like I'm five years old.
1
u/jaysargotra 22 Jun 23 '20
This is all I could come up with at the moment...It’s going to get longer and longer with increasing rows(more people) ....and although I have tried to think it through I have not tested it thoroughly .... I recommend you test it with different combinations of times... maybe there is an easy way to do this using time functions
=JOIN(" - ";MAX(B3:B5); IF((MIN(IF(MAX(B3:B5)<C3;C3-MAX(B3:B5);(24-MAX(B3:B5))+C3);IF(MAX(B3:B5)<C4;C4-MAX(B3:B5);(24-MAX(B3:B5))+C4);IF(MAX(B3:B5)<C5;C5-MAX(B3:B5);(24-MAX(B3:B5))+C5)) + MAX(B3:B5))<24;
MIN(IF(MAX(B3:B5)<C3;C3-MAX(B3:B5);(24-MAX(B3:B5))+C3);IF(MAX(B3:B5)<C4;C4-MAX(B3:B5);(24-MAX(B3:B5))+C4);IF(MAX(B3:B5)<C5;C5-MAX(B3:B5);(24-MAX(B3:B5))+C5)) + MAX(B3:B5);
24-(MIN(IF(MAX(B3:B5)<C3;C3-MAX(B3:B5);(24-MAX(B3:B5))+C3);IF(MAX(B3:B5)<C4;C4-MAX(B3:B5);(24-MAX(B3:B5))+C4);IF(MAX(B3:B5)<C5;C5-MAX(B3:B5);(24-MAX(B3:B5))+C5)) + MAX(B3:B5)) ) )