Home |
Search |
Today's Posts |
#10
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi Steve,
I did copy and paste this part. It shows up as: =IF(A6="","",IF(DAY(WORKDAY(A6,1))31,"",IF(MONTH( WORKDAY(A6,1))MONTH($A$1),"",IF(YEAR(WORKDAY(A6,1 ))YEAR($A$1),"",WORKDAY(A6,1))))) Perhaps there is a missing piece. Monique "daddylonglegs" wrote: SteveG Wrote: Slight typo. You need to change the A1 in the YEAR formula to an absolute reference. =IF(A6="","",IF(DAY(WORKDAY(A6,1))31,"",IF(MONTH( WORKDAY(A6,1))MONTH($A$1),"",IF(YEAR(WORKDAY(A6,1 ))YEAR($A$1),"",WORKDAY(A6,1))))) Hi Steve/Monique checking IF(DAY(WORKDAY(A6,1))31 is redundant since it can never be true. Won't this formula in B6 copied across be sufficient? =IF(A6="","",IF(MONTH(WORKDAY(A6,1))<MONTH(A6),"" ,WORKDAY(A6,1))) -- daddylonglegs ------------------------------------------------------------------------ daddylonglegs's Profile: http://www.excelforum.com/member.php...o&userid=30486 View this thread: http://www.excelforum.com/showthread...hreadid=537695 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Custom functions calculating time arguments Help Desperate | Excel Worksheet Functions | |||
i have two days and i want the difference in days, months, year | Excel Worksheet Functions | |||
Function or formula to convert "text" month to number of month | Excel Discussion (Misc queries) | |||
4 and 5 week months | Excel Discussion (Misc queries) | |||
Calculating recurring date in following month, calculating # days in that period | Excel Worksheet Functions |