Perksy_no1
Well-known Member
- Joined
- Oct 27, 2011
- Messages
- 598
- Office Version
- 365
- Platform
- Windows
Hi There,
I'm have some problems with data validation. What im trying to do is stop people over planning a line past the planned finish time.
In column g you put in an amount that generates a finished time in column k
I've tried to put the following validation in column g so that it stops you putting to large an amount in column g based on whether its an early or late shift. Early shift finishes at 14:25 late shift 10:55.
=IF(B15="Early",IF(K15< time(14,25,0),true,false),if(k15< time(10,55,0),true,false))<time(14,25,0),true,false),if(k15<time(10,55,0),true,false))
<time(14,25,0),true,false),if(k15<time(10,55,0),true,false))
<time(14,25,0),true,false),if(k15<time(10,55,0),true,false))
<time(14,25,0),true,false),if(k15<time(10,55,0),true,false))
<time(14,25,0),true,false),if(k15<time(10,55,0),true,false))
<time(14,25,0),true,false),if(k15<time(10,55,0),true,false))
But it wont let me put any value into column g.
Thanks in advance for any help you can offer
Mark
Hi there just to add something else to the post the validation depends on whether in column be there is either early or late shift in there
</time(14,25,0),true,false),if(k15<time(10,55,0),true,false))
</time(14,25,0),true,false),if(k15<time(10,55,0),true,false))
</time(14,25,0),true,false),if(k15<time(10,55,0),true,false))
</time(14,25,0),true,false),if(k15<time(10,55,0),true,false))
</time(14,25,0),true,false),if(k15<time(10,55,0),true,false))
</time(14,25,0),true,false),if(k15<time(10,55,0),true,false))
I'm have some problems with data validation. What im trying to do is stop people over planning a line past the planned finish time.
In column g you put in an amount that generates a finished time in column k
I've tried to put the following validation in column g so that it stops you putting to large an amount in column g based on whether its an early or late shift. Early shift finishes at 14:25 late shift 10:55.
=IF(B15="Early",IF(K15< time(14,25,0),true,false),if(k15< time(10,55,0),true,false))<time(14,25,0),true,false),if(k15<time(10,55,0),true,false))
<time(14,25,0),true,false),if(k15<time(10,55,0),true,false))
<time(14,25,0),true,false),if(k15<time(10,55,0),true,false))
<time(14,25,0),true,false),if(k15<time(10,55,0),true,false))
<time(14,25,0),true,false),if(k15<time(10,55,0),true,false))
<time(14,25,0),true,false),if(k15<time(10,55,0),true,false))
But it wont let me put any value into column g.
Thanks in advance for any help you can offer
Mark
Hi there just to add something else to the post the validation depends on whether in column be there is either early or late shift in there
</time(14,25,0),true,false),if(k15<time(10,55,0),true,false))
</time(14,25,0),true,false),if(k15<time(10,55,0),true,false))
</time(14,25,0),true,false),if(k15<time(10,55,0),true,false))
</time(14,25,0),true,false),if(k15<time(10,55,0),true,false))
</time(14,25,0),true,false),if(k15<time(10,55,0),true,false))
</time(14,25,0),true,false),if(k15<time(10,55,0),true,false))
Last edited by a moderator: