VBABEGINER
Well-known Member
- Joined
- Jun 15, 2011
- Messages
- 1,284
- Office Version
- 365
- Platform
- Windows
Hi All,
I don't understand what goes wrong with this formula..
formula is
output getting..
Not Achieved
Not Achieved
Why less than 24 hour not captured properly..??
I don't understand what goes wrong with this formula..
Code:
[TABLE="width: 366"]
<colgroup><col><col><col></colgroup><tbody>[TR]
[TD]Col AS2[/TD]
[TD]Col AT2[/TD]
[TD]Col AU2[/TD]
[/TR]
[TR]
[TD]Renewal[/TD]
[TD]68:43:42[/TD]
[TD]formula[/TD]
[/TR]
[TR]
[TD]Col AS3[/TD]
[TD]Col AT3[/TD]
[TD]Col AU3[/TD]
[/TR]
[TR]
[TD]Renewal[/TD]
[TD]36:17:57[/TD]
[TD]formula[/TD]
[/TR]
</tbody>[/TABLE]
formula is
Code:
=IF(AND($AS2="Renewal",$AT2<=TIMEVALUE("24:00:00")),"Achieved",IF(AND($AS2="Renewal",$AT2>TIMEVALUE("24:00:00")),"Not Achieved","NA")))
=IF(AND($AS3="Renewal",$AT3<=TIMEVALUE("24:00:00")),"Achieved",IF(AND($AS3="Renewal",$AT3>TIMEVALUE("24:00:00")),"Not Achieved","NA")))
output getting..
Not Achieved
Not Achieved
Why less than 24 hour not captured properly..??