sorngiggle
New Member
- Joined
- Feb 16, 2016
- Messages
- 12
[TABLE="width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Reporting Date[/TD]
[TD]Date Accepted[/TD]
[TD]Difference[/TD]
[TD]MET or MISSED?[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]
<colgroup width="162"></colgroup> <tbody>
[TD="align: right"] 11/07/18 11:50 [/TD]
</tbody>[/TD]
[TD]
<colgroup width="200"></colgroup> <tbody>
[TD="align: right"] 11/07/18 11:51 [/TD]
</tbody>[/TD]
[TD]
<colgroup width="240"></colgroup> <tbody>
[TD="align: left"] 0 days, 0 hrs, 1 mins [/TD]
</tbody>[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]
<colgroup width="162"></colgroup> <tbody>
[TD="align: right"] 26/07/18 08:06 [/TD]
</tbody>[/TD]
[TD]
<colgroup width="200"></colgroup> <tbody>
[TD="align: right"] 27/07/18 10:14 [/TD]
</tbody>[/TD]
[TD]
<colgroup width="240"></colgroup> <tbody>
[TD="align: left"] 1 days, 2 hrs, 8 mins [/TD]
</tbody>[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]
<colgroup width="162"></colgroup> <tbody>
[TD="align: right"] 01/07/18 21:16 [/TD]
</tbody>[/TD]
[TD]
<colgroup width="221"></colgroup> <tbody>
[TD="align: right"] 02/07/18 15:19 [/TD]
</tbody>[/TD]
[TD]
<colgroup width="240"></colgroup> <tbody>
[TD="align: left"] 0 days, 12 hrs, 3 mins [/TD]
</tbody>[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
So, i used the formula
Now, i want the D column to automatically detect if Column C is > 1 day it prints "Missed" and if it less < 1 day it prints "Met"
I tried using
it gave me a wrong answer. D2 should have been MET but it shows MISSED.
Thanks,
Anusorn Khurana
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Reporting Date[/TD]
[TD]Date Accepted[/TD]
[TD]Difference[/TD]
[TD]MET or MISSED?[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]
<colgroup width="162"></colgroup> <tbody>
[TD="align: right"] 11/07/18 11:50 [/TD]
</tbody>
[TD]
<colgroup width="200"></colgroup> <tbody>
[TD="align: right"] 11/07/18 11:51 [/TD]
</tbody>
[TD]
<colgroup width="240"></colgroup> <tbody>
[TD="align: left"] 0 days, 0 hrs, 1 mins [/TD]
</tbody>
[TD][/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]
<colgroup width="162"></colgroup> <tbody>
[TD="align: right"] 26/07/18 08:06 [/TD]
</tbody>
[TD]
<colgroup width="200"></colgroup> <tbody>
[TD="align: right"] 27/07/18 10:14 [/TD]
</tbody>
[TD]
<colgroup width="240"></colgroup> <tbody>
[TD="align: left"] 1 days, 2 hrs, 8 mins [/TD]
</tbody>
[TD][/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]
<colgroup width="162"></colgroup> <tbody>
[TD="align: right"] 01/07/18 21:16 [/TD]
</tbody>
[TD]
<colgroup width="221"></colgroup> <tbody>
[TD="align: right"] 02/07/18 15:19 [/TD]
</tbody>
[TD]
<colgroup width="240"></colgroup> <tbody>
[TD="align: left"] 0 days, 12 hrs, 3 mins [/TD]
</tbody>
[TD][/TD]
[/TR]
</tbody>[/TABLE]
So, i used the formula
for the Difference between B2 and A2=INT(B2-A2) & " days, " & HOUR(B2-A2) & " hrs, " & MINUTE(B2-A2) & " mins "
Now, i want the D column to automatically detect if Column C is > 1 day it prints "Missed" and if it less < 1 day it prints "Met"
I tried using
=IF(C2>=TIME(23,59,59)+ TIME(0,0,1),"MISSED","MET")
it gave me a wrong answer. D2 should have been MET but it shows MISSED.
Thanks,
Anusorn Khurana