Hello everyone, I need your help to find a way to make a difference between times and compare it with other time.
In the example you understand what I want to achieve
Thank you all for the help
Hello everyone, I need your help to find a way to make a difference between times and compare it with other time.
In the example you understand what I want to achieve
Thank you all for the help
Hi Berna11, i make it as same format. So i can compare.![]()
Please Login or Register to view this content.
edit: need consider hours.
Last edited by wenqq3; 08-05-2013 at 05:33 AM.
-If the problem is solved, please mark your thread as Solved: Click Thread Tools above your first post, select "Mark your thread as Solved".
-Always upload a workbook before start your question
To attach a file, push the button with the paperclip (or scroll down to the Manage Attachments button), browse to the required file, and then push the Upload button.
+++ If my answer(s) helped you, please add me reputation by click on * +++
try
=IF(TIME(HOUR(G1),MINUTE(G1),SECOND(G1))=TIME(HOUR(D5),MINUTE(D5),SECOND(D5)),"OK","NO")
Wayne
if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here
If you have a solution to your thread - Please mark your thread solved do the following: >
Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.
B5 and C5 are differant formatted, then the other cells.
See the attached file, with the correct result.
Notice my main language is not English.
I appreciate it, if you reply on my solution.
If you are satisfied with the solution, please mark the question solved.
You can add reputation by clicking on the star * add reputation.
Thank you for the answers, but not there yet.
I send you a more complete file to understand better.
The cells containing time are formatted with h.mm
But the formula does not give me the desired result.
In column G in yellow what should come from the formula in column D.
thanks again
as posted have you tried my formula using Time
Also your last example - row 9 = G2 so should that be CONTROLLO
since $C9-$B9=$G$2
=IF(time(hour($C5-$B5),minute($C5-$B5),second($C5-$B5))<=0,"VERIFICA ORARIO",IF(time(hour($C5-$B5),minute($C5-$B5),second($C5-$B5)) >$G$1,"INTERVALLO TROPPO LUNGO",IF(time(hour($C5-$B5),minute($C5-$B5),second($C5-$B5))=$G$1,"COMPLETA",IF(time(hour($C5-$B5),minute($C5-$B5),second($C5-$B5))=$G$2,"CONTROLLO","????"))))
Modified my previous code, you can try this as well.![]()
Please Login or Register to view this content.
Thanks I have resolved to work Wenqq3 and Etaf
I had a little problem of translation before.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks