excel - IF statement using TIME -


i trying write if statement @ range time , return either shift or shift b.

this formula isn't working:

=if(f2>time(6,0,0),if(f2<time(16,0,0)),"a","b") 

use =and both (or more) conditions have met result in true. second if not required. with:

=if(and(f2>time(6,0,0),f2<time(16,0,0)),"a","b")   

shift applies after 06:00 hrs through before 16:00 hrs , shift b otherwise. if , f intermingled in same formula little unfortunate!


Comments

Popular posts from this blog

Line ending issue with Mercurial or Visual Studio -

tags - Jquery Mixitup plugin help prevent handlers being destroyed -

c# - Delving into the world of XML (Windows Phone) Error I dont understand (The ' ' character, hexadecimal value 0x20, cannot be included in a name.) -