Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 18
Default A problem with nested IF's

Hi Everyone,

I'm working on a report that looks like this.

D E F
G H
Request Date Request Time Dispatch Date Dispatch Time
Delay
6
7
8
9
10

The problem lies with the delay column. If the Request Time (Column F) has a
value upto 3:30 PM, the dispatch should be done on the same day. If the
request time is after 3:30 PM, the dispatch needs to be done by 11:00 AM the
next day. We do not work on saturdays and sundays. The delay needs to be
calculated in the number of days.

I've been able to manage a formula that calculates the delay but doesn't
account for the weekends. It goes like this :

=IF(OR(F6=D6,AND(E6TIMEVALUE("3:30 PM"),G6<TIMEVALUE("11:00
AM"),F6-D6=1)),"0",F6-D6)

Can someone please help me with an extension to this formula that accounts
for the weekends as well? (Saturdays and Sundays are not to be counted in the
delay).

Thanks a million in advance. :)

Reply
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
IF Statement (Nested IF's??) Jimmydageek Excel Worksheet Functions 8 February 19th 06 01:37 AM
Nested IF's with Rank Problem exutable Excel Worksheet Functions 2 November 9th 05 12:50 PM
Nested If's Cletus Stripling Excel Worksheet Functions 4 September 30th 05 01:14 PM
How many IF's can you have in a nested IF function? malik641 Excel Worksheet Functions 3 September 6th 05 02:07 PM
How many nested IF's??? malik641 Excel Discussion (Misc queries) 1 June 16th 05 09:35 PM


All times are GMT +1. The time now is 09:20 PM.

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

About Us

"It's about Microsoft Excel"