sharepoint - HTML Calculated Column Formula Help! -


i'm trying use html calculated column can display rag status bar tasks in sharepoint. had working until added if containing % complete. can tell me i'm going wrong please?

understand there < missing in front of div style in first , last lines - way display:

<div style='width:100%;background-color:"&if(slippage>30,"red",if(and(slippage>=-7,slippage<=-29),"orange",if(and(slippage>=-7,slippage<=29),"orange",if(slippage<7,"green","green",if(% complete=100,"blue","blue")))))&";'></div>" 

thanks - rob

this late of use, should use square brackets around column names; when there's space in them.

as troublesome % complete column has space in it, imagine changing [% complete] resolve issue. means sharepoint identify single column name rather 2 separate entities.


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -