Forum Discussion
siobhanmbyrne1930
Dec 21, 2022Copper Contributor
Using the TIME function in excel
I have a short formula in a cell (Col R) that changes the amount of time someone is entitled to depending upon whether they take leave or not. I want to add additional criteria to the initial formula...
- Dec 21, 2022
=IF(OR(N34=TIME(10,0,0),O34=TIME(10,0,0),P34=TIME(10,0,0),Q34=TIME(10,0,0),P34=TIME(5,0,0),Q34=TIME(5,0,0)),W34,X34)
You can try an IF(OR( formula.
OliverScheurich
Dec 21, 2022Gold Contributor
=IF(OR(N34=TIME(10,0,0),O34=TIME(10,0,0),P34=TIME(10,0,0),Q34=TIME(10,0,0),P34=TIME(5,0,0),Q34=TIME(5,0,0)),W34,X34)
You can try an IF(OR( formula.