Excel Generate the Week day list

Generate the week day list
1. Input one date into A1 column
2. Input the following function into A2 column:

=IF(OR(A1>=TODAY(),A1=""),"",IF(NETWORKDAYS(A1+1,TODAY())=0,"",(WEEKDAY(A1+1,2)<6)*(A1+1)+(WEEKDAY(A1+1,2)=6)*(A1+3)+(WEEKDAY(A1+1,2)=7)*(A1+2)))

Comments

Popular posts from this blog

Nginx Proxy & Load Balance & LNMP

Snort+barnyard2+Snorby CentOS 6.5_64 Installation

ORACLE Error