This should be easier than I'm making it...
Start times all sit in column J (military time), and stop times sit in column K (also military time). The duration in minutes sits in column M.
I want to put in a formula that says if columns J and K are between the hours of 7:30am and 3:30pm, then grab the duration minutes sitting in column M, otherwise leave blank.
I get an error message when I enter in the below formula. Any suggestions?
=IF(AND(J2>=7:30,K2<=15:30),M2,"")
Start times all sit in column J (military time), and stop times sit in column K (also military time). The duration in minutes sits in column M.
I want to put in a formula that says if columns J and K are between the hours of 7:30am and 3:30pm, then grab the duration minutes sitting in column M, otherwise leave blank.
I get an error message when I enter in the below formula. Any suggestions?
=IF(AND(J2>=7:30,K2<=15:30),M2,"")