Pass / Fail using Time

lani_berina

New Member
Joined
Dec 13, 2010
Messages
5
Anyone can help on how to calculate Column D:

[TABLE="width: 500"]
<tbody>[TR]
[TD="align: center"]A[/TD]
[TD="align: center"]B[/TD]
[TD="align: center"]C[/TD]
[TD="align: center"]D[/TD]
[/TR]
[TR]
[TD]13:00[/TD]
[TD]14:00[/TD]
[TD]01:00[/TD]
[TD]Failed[/TD]
[/TR]
[TR]
[TD]13:00[/TD]
[TD]13:00[/TD]
[TD]00:30[/TD]
[TD]Passed[/TD]
[/TR]
</tbody>[/TABLE]

  1. In column A and B, and C, i used MOD, format cells custom 00\:00 in subtracting time.
  2. For column D, I tried this formula IF(C1>1,"PASS","FAIL") but it does not give me the exact answer.


I want the Result should be like this If more than one One Hour it should be Fail, IF less than one hour it should Pass.


Thank you.

Lani
 

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
Hi,

Your sample results does Not match the logic of your attempted formula and does Not match your written description, so adjust the > in the below formula to >= if needed.

Also, don't know how you got 00:30 in C2.


Book1
ABCD
113:0014:001:00Pass
213:0013:000:30Pass
Sheet303
Cell Formulas
RangeFormula
D1=IF(C1>1/24,"Fail","Pass")
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,289
Members
452,631
Latest member
a_potato

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top