Good morning,
I have two IF(AND formulas that work fine independently, but when I combine them I get errors.
Any help to fix this issue would be appreciated.
If any one can shorten the formula as well.... that would also be appreciated....
I am using an Excel Document (2010) to track meetings at two different locations. Entering date, day, start time, finish time, location and other information. I am using the date and time information in formulas to tell me whether or not the location is open for that meeting or do I need to contact someone to get them to open up for the meeting.
So.
Column A is the Date - DD/MM/YYYY
Column B is the Day - ddd
Column C is the start time - h:mm
Column D is the finish time - h:mm
Column E is the location - either BR or RC
There is also a little table in T1 to V3 which contains the opening and closing hours of the two locations.
The formula is to be entered into Column K.
This formula tells me whether or not the meeting has been booked for a day when that location is open or closed.
=IF(E8="","",(IF(AND(OR(B8="Tue",B8="Wed",B8="Thu")*(E8="BR")),"Open",IF(AND(OR(B8="Tue")*(E8="RC")),"Open","Closed"))))
This formula tells me whether or not the location is open or closed at the time of the meeting, as some meetings are booked to start or finish outside of the opening hours.
IF(AND($C8>=$U$2,$C1<=$V$2),IF(AND($D8>=$U$2,$D1<=$V$2),"Open","Closed"))
But when I try to combine the two formulas together, I get two errors.
The rows that should fill Column K with "Closed", instead say "False".
The rows that should fill Column K with "Open" for RC, instead say "False"
=IF(E8="","",IF(AND($E8="BR")*(OR($B8="Tue",$B8="Wed",$B8="Thu")),IF(AND($C8>=$U$2,$C8<=$V$2),IF(AND($D8>=$U$2,$D8<=$V$2),"Open",IF(AND($E8="RC")*($B8="Tue"),IF(AND($C8>=$U$2,$C8<=$V$2),IF(AND($D8>=$U$2,$D8<=$V$2),"Open","Closed")))))))
Any suggestions?
Many thanks (in anticipation...)
I have two IF(AND formulas that work fine independently, but when I combine them I get errors.
Any help to fix this issue would be appreciated.
If any one can shorten the formula as well.... that would also be appreciated....
I am using an Excel Document (2010) to track meetings at two different locations. Entering date, day, start time, finish time, location and other information. I am using the date and time information in formulas to tell me whether or not the location is open for that meeting or do I need to contact someone to get them to open up for the meeting.
So.
Column A is the Date - DD/MM/YYYY
Column B is the Day - ddd
Column C is the start time - h:mm
Column D is the finish time - h:mm
Column E is the location - either BR or RC
There is also a little table in T1 to V3 which contains the opening and closing hours of the two locations.
The formula is to be entered into Column K.
This formula tells me whether or not the meeting has been booked for a day when that location is open or closed.
=IF(E8="","",(IF(AND(OR(B8="Tue",B8="Wed",B8="Thu")*(E8="BR")),"Open",IF(AND(OR(B8="Tue")*(E8="RC")),"Open","Closed"))))
This formula tells me whether or not the location is open or closed at the time of the meeting, as some meetings are booked to start or finish outside of the opening hours.
IF(AND($C8>=$U$2,$C1<=$V$2),IF(AND($D8>=$U$2,$D1<=$V$2),"Open","Closed"))
But when I try to combine the two formulas together, I get two errors.
The rows that should fill Column K with "Closed", instead say "False".
The rows that should fill Column K with "Open" for RC, instead say "False"
=IF(E8="","",IF(AND($E8="BR")*(OR($B8="Tue",$B8="Wed",$B8="Thu")),IF(AND($C8>=$U$2,$C8<=$V$2),IF(AND($D8>=$U$2,$D8<=$V$2),"Open",IF(AND($E8="RC")*($B8="Tue"),IF(AND($C8>=$U$2,$C8<=$V$2),IF(AND($D8>=$U$2,$D8<=$V$2),"Open","Closed")))))))
Any suggestions?
Many thanks (in anticipation...)