All, I have a fairly straight foward issue. MS SharePoint 2007, view with calculated columns.
I have a calculated column that has the following forumla
=IF(OR([Field]=””,[field2]=””),0,ROUNDUP([field1]/[field2],0))
ISSUE: If Column 2 does not have a value then the dreaded #DIV/0! error shows up.
However if there are no values in Field 1 or 2 the calculated column returns 0 as it should.
I would like: either to return 0 or a text expression of None On Hand. We are measuring the ratio of equipment on hand to people. However there are times when there is no equipment on hand and this is a new purchase so the Field 2 would be blank.
I appreciate any assistance.
Jowidog
I have a calculated column that has the following forumla
=IF(OR([Field]=””,[field2]=””),0,ROUNDUP([field1]/[field2],0))
ISSUE: If Column 2 does not have a value then the dreaded #DIV/0! error shows up.
However if there are no values in Field 1 or 2 the calculated column returns 0 as it should.
I would like: either to return 0 or a text expression of None On Hand. We are measuring the ratio of equipment on hand to people. However there are times when there is no equipment on hand and this is a new purchase so the Field 2 would be blank.
I appreciate any assistance.
Jowidog