Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 152
Default Flagging tasks using Networkdays

Hi,
I am using a formula:
=IF(IF(D8="",TODAY(),D8)(C8+2),"Red",IF(IF(D8="", TODAY(),D8)=(C8+1),"Amber",""))

Column C contains dates & time received, column D date and time sent. If
date sent is empty it works on today(). We have two working days to allocate
tasks. However the formula results in ""Red" if i receive something on a
friday but do not send it till monday. Can anyone give me a clue how to add
networkdaay funtionality to this.
Many thanks,
Ross

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,440
Default Flagging tasks using Networkdays

Hi Ross,

You need WORKDAY() functionality, not NETWORKDAYS().
=WORKDAY(a1,1)
Format as date

--
Kind regards,

Niek Otten


"Ross" wrote in message ...
Hi,
I am using a formula:
=IF(IF(D8="",TODAY(),D8)(C8+2),"Red",IF(IF(D8="", TODAY(),D8)=(C8+1),"Amber",""))

Column C contains dates & time received, column D date and time sent. If
date sent is empty it works on today(). We have two working days to allocate
tasks. However the formula results in ""Red" if i receive something on a
friday but do not send it till monday. Can anyone give me a clue how to add
networkdaay funtionality to this.
Many thanks,
Ross



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Flagging tasks using Networkdays

=VLOOKUP(INT(IF(D8="",TODAY(),D8)-(C8+2+(WEEKDAY(C8)=6)*2+(WEEKDAY(C8)=5)*2)
),{0,"";1,"Amber";2,"Red"},2)

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"Ross" wrote in message
...
Hi,
I am using a formula:

=IF(IF(D8="",TODAY(),D8)(C8+2),"Red",IF(IF(D8="", TODAY(),D8)=(C8+1),"Amber
",""))

Column C contains dates & time received, column D date and time sent. If
date sent is empty it works on today(). We have two working days to

allocate
tasks. However the formula results in ""Red" if i receive something on a
friday but do not send it till monday. Can anyone give me a clue how to

add
networkdaay funtionality to this.
Many thanks,
Ross



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Flagging tasks using Networkdays


Try this

=IF(C8="","",LOOKUP(NETWORKDAYS(C8,IF(D8,D8,TODAY( ))),{0,2,4;"","Amber","Red"}))


--
daddylonglegs
------------------------------------------------------------------------
daddylonglegs's Profile: http://www.excelforum.com/member.php...o&userid=30486
View this thread: http://www.excelforum.com/showthread...hreadid=521681

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 152
Default Flagging tasks using Networkdays

Thank you, this is very helpful.
Ross

"daddylonglegs" wrote:


Try this

=IF(C8="","",LOOKUP(NETWORKDAYS(C8,IF(D8,D8,TODAY( ))),{0,2,4;"","Amber","Red"}))


--
daddylonglegs
------------------------------------------------------------------------
daddylonglegs's Profile: http://www.excelforum.com/member.php...o&userid=30486
View this thread: http://www.excelforum.com/showthread...hreadid=521681


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
Flagging a cell Oscar Excel Worksheet Functions 3 December 4th 08 10:04 PM
Flagging with Excel Niall 84 Excel Discussion (Misc queries) 2 May 19th 08 11:38 AM
Flagging constants [email protected] Excel Worksheet Functions 2 April 3rd 06 07:42 PM
Due Date Flagging Jekisa Excel Worksheet Functions 1 July 28th 05 12:53 AM
Flagging duplicates AB Excel Programming 7 July 7th 05 04:32 PM


All times are GMT +1. The time now is 08:18 AM.

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"