Forum Discussion
Excel Formulas
- Apr 26, 2019
This formula works with the exception it causes a #VALUE! in the remaining rows columns AF/AG.
See the attached image. Also, I attached my workbook to the post...
Now that I know you workbook the formula should be:
=IF(B7<>0,IF(COUNTA(C7:AG7)=0,0.5,0),"")
Using a direct reference to another worksheet is a very bad idea.
As for the #VALUE! error: You wanted a formula to produce a 'blank' which it does.
Your formula in 'January' column H is essentially:
=Number - AJ7
But when AJ7 is 'blank" it is text. And Number-Text does not compute in Excel.
- RRCITApr 26, 2019Copper Contributor
So, Can I make the value of AJ7 be 0 if there is no data in B7...
I can then use conditional formatting to hide the 0....
- Detlef_LewinApr 26, 2019Silver Contributor
- RRCITApr 30, 2019Copper Contributor
The formula works great. Unfortunately, I have run into another issue. This needs to be conditional on an employee hire date. I have added a new column (Start Date) to the Employee Names sheet. Employees can't accrue Perfect Attendance points prior to their "Start Date". So if the employee starts in April... then Jan - Mar would not have points in the Perfect Attendance column.