Flagging tasks using Networkdays

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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
 
Hi Ross,

You need WORKDAY() functionality, not NETWORKDAYS().
=WORKDAY(a1,1)
Format as date
 
=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)
 
Try this

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top