VBABEGINER
Well-known Member
- Joined
- Jun 15, 2011
- Messages
- 1,284
- Office Version
- 365
- Platform
- Windows
I need logic understanding on this..
I have this value in my column..
While using this formula, I'm getting answer like this..
Why I'm getting 11 on a1 and a2...where I getting correct on a3 and a4..
I have this value in my column..
also227:34:55..a1
83:57:48..a2
17:57:03..a3
14:05:02..a4
While using this formula, I'm getting answer like this..
Code:
=IF(A2="MR",HOUR(A2),"")
also227:34:55..a1 - Answer = 11
83:57:48..a2 - Answer = 11
17:57:03..a3 - Answer = 17
14:05:02..a4 - Answer = 14
Why I'm getting 11 on a1 and a2...where I getting correct on a3 and a4..