LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Calculating turaround time using IF function

On Jan 13, 10:52*am, Glenn wrote:
MT_Cybertyper wrote:
I'm just learning to use the IF function, and it is not calculating
correctly, so am looking for help. *I'm using Excel 2000.


For my spreadsheet, if a document is made available after 1700 hours
or before 0700 hours the following day, I want it to calculate the
turnaround time for those reports to begin at 0700 hours; otherwise
calculate the remainder of the reports from the time the report became
available to completion. *Here's the IF statement I'm attempting to
use with little success.


E=Time report available
I=Finish time


=IF(OR(E"17:00:00",E<"07:00:00),0700-I,I-E)


Copy your formula directly from the worksheet to the post if you want help. *The
one you typed above is not valid.

Is it possible a report is made available before 17:00 but finished the next day?

You might be looking for something like this:

=IF(OR(E1--"17:00:00",E1<--"07:00:00"),I1-"07:00:00",I1-E1)



Tried it out and yes, this works, except for those reports that are
available before 17:00. When this occurs, it would need calculated
from the time in that cell to 17:00 and then from 07:00 until
completion the next day. Not sure how to set this up.

Thanks for your help

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Any Nested Function & Condition For Calculating Date & Time Safu Excel Worksheet Functions 3 February 10th 07 03:28 PM
calculating timesheet, time-in/time-out = total hours & minutes, . Steve Lindsay Excel Worksheet Functions 13 November 8th 06 03:45 PM
For Niek Otten and Toppers custom function calculating time Bill_De Excel Worksheet Functions 1 April 28th 06 09:18 AM
Calculating effective time from start/end date+time Stefan Stridh Excel Worksheet Functions 8 November 27th 04 03:50 PM


All times are GMT +1. The time now is 03:54 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"