Hi all
I have the following formula I am using to get the difference in mins. For what ever reason the time shows up as 10:23:33:00 from a separate system when loaded into Excel so am using the following formula =TEXT(LEFT(BG6,5)-LEFT(BF6,5),"h:mm") for the most part which works.
Now the issue I am having is how to include in an IF statement if the mins difference is more than 15 mins I need it to show error.
My first result is showing 0:05 (so 5 mins difference) but the issue is how to show this in an IF as =IF(TEXT(LEFT(BG6,5)-LEFT(BF6,5),"h:mm")>15,"Error","ok") shows error when it shouldn't. Have tried a few various ways to show this but don't seem to be having much luck. Any help would be appreciated.
Thanks
Arts
I have the following formula I am using to get the difference in mins. For what ever reason the time shows up as 10:23:33:00 from a separate system when loaded into Excel so am using the following formula =TEXT(LEFT(BG6,5)-LEFT(BF6,5),"h:mm") for the most part which works.
Now the issue I am having is how to include in an IF statement if the mins difference is more than 15 mins I need it to show error.
My first result is showing 0:05 (so 5 mins difference) but the issue is how to show this in an IF as =IF(TEXT(LEFT(BG6,5)-LEFT(BF6,5),"h:mm")>15,"Error","ok") shows error when it shouldn't. Have tried a few various ways to show this but don't seem to be having much luck. Any help would be appreciated.
Thanks
Arts