Excel 2007.
I have a workbook with three main sections that share information.
1. Project sheets. These have random sheet names and contain project information. In cell S16 I am calculating a start date based on project type and status. I am checking to see if cell 108 is filled in to indicate the project is active and trying to keep the cell free of 1/1/1900 if project is not active.
2. A index page called PROJECTS uses VB to pull information from the project sheets above into a print friendly sheet. The information from #1 above ends up in row AD.
3. A report page is where I want to count all the projects by month from PROJECTS!AD2:AD95. I have used the following formulas but they all return #value!. The error is from cells of projects that have not started and the if statement from #1 above. If I click these cells and press delete (even though they are blank already) the formula will work.
I have tried the following to count January dates from PROJECTS!AD2:AD95.
I would like to skip over the #value! errors or prevent them from occurring.
Help would be appreciated as I am teaching myself formulas.
I have a workbook with three main sections that share information.
1. Project sheets. These have random sheet names and contain project information. In cell S16 I am calculating a start date based on project type and status. I am checking to see if cell 108 is filled in to indicate the project is active and trying to keep the cell free of 1/1/1900 if project is not active.
Code:
[/FONT][/COLOR][COLOR=black][FONT="Calibri"] [/FONT][/COLOR][COLOR=blue][FONT="Arial"]=IF(S108<>"",(IF(OR(B4="REM",B4="EXP"),(S108+0+CHOOSE(WEEKDAY(S108+0),1,0,0,0,0,0,2)),(S108-55+CHOOSE(WEEKDAY(S108-55),1,0,0,0,0,0,2))))+(IF(S108="Express",35,0)),"")
2. A index page called PROJECTS uses VB to pull information from the project sheets above into a print friendly sheet. The information from #1 above ends up in row AD.
3. A report page is where I want to count all the projects by month from PROJECTS!AD2:AD95. I have used the following formulas but they all return #value!. The error is from cells of projects that have not started and the if statement from #1 above. If I click these cells and press delete (even though they are blank already) the formula will work.
I have tried the following to count January dates from PROJECTS!AD2:AD95.
Code:
=SUMPRODUCT(--(IFERROR(MONTH(PROJECTS!AD2:AD95),0)=12))
Code:
=SUMPRODUCT(--(PROJECTS!AD2:AD95<>""),--(MONTH(PROJECTS!AD2:AD95)=4))
Code:
=SUMPRODUCT((MONTH(PROJECTS! AD2:AD95)=1)*(PROJECTS!AD2:AD95<>""))
I would like to skip over the #value! errors or prevent them from occurring.
Help would be appreciated as I am teaching myself formulas.