|
最佳回答 |
0
|
L大大Lv7高级互助发布于2020-5-15 10:40
|
"<table align='center' width='98%' border=0 cellspacing=0 cellpadding=0 height='20'> <tr> <td bgcolor='" + if(ROUND(B8 * 100, 2) > 100, "#25a1bf ", if(ROUND(B8 * 100, 2) > 80, "#25a1bf", if(ROUND(B8 * 100, 2) > 60, "#25a1bf", "#25a1bf"))) + "' width='" + (100 - B8 * 100) + "%'> " + A8 + "</td> <td width='" + B8 * 100 + "%'></td> </tr> </table>"
|
|
|
|
最佳回答 |
0
|
孤陌Lv6资深互助发布于2020-5-15 10:16(编辑于 2020-5-15 10:38)
|
颜色 自己改一下就好了 IF(D4>=90,你的进度条,IF(D4>=80,你的进度条,IF(D4>=70,你的进度条,IF(D4>=60,你的进度条,IF(D4<60,你的进度条))))) 就这样套一下就好了 IF(G4<10,"<table width=" + 100 + "% border=0 cellspacing=0 cellpadding=0> <tr> <td bgcolor=#0000FF><div color=#ffffff align=right>" + G4 / 24 + "</div></td> </tr> </table>",IF(G4>=10&&G4<18,"<table width=" + 100 + "% border=0 cellspacing=0 cellpadding=0> <tr> <td bgcolor=#0000FF><div color=#ffffff align=right>" + G4 / 24 + "</div></td> </tr> </table>",IF(g4>=18,"<table width=" + 100 + "% border=0 cellspacing=0 cellpadding=0> <tr> <td bgcolor=#0000FF><div color=#ffffff align=right>" + G4 / 24 + "</div></td> </tr> </table>")))
|
-
Jacklove(提问者)
- 你的套进去了 显示不对。。。
-
孤陌 回复 Jacklove(提问者)
- 我修改了
-
孤陌 回复 Jacklove(提问者)
- 直接用 新的
-
Jacklove(提问者) 回复 孤陌
- 就是用的你的新的 你那边显示正常的吗
-
孤陌 回复 Jacklove(提问者)
- 正常啊 你只要改一下颜色的代码啊 你的进度条公式我没有动
|
|
|
最佳回答 |
0
|
13914372314Lv2见习互助发布于2020-5-15 10:37
|
"<table align='center' width='98%' border=0 cellspacing=0 cellpadding=0 height='20'> <tr> <td bgcolor='" + if(ROUND(B8 * 100, 2) > 100, "#25a1bf ", if(ROUND(B8 * 100, 2) > 80, "#25a1bf", if(ROUND(B8 * 100, 2) > 60, "#25a1bf", "#25a1bf"))) + "' width='" + (100 - B8 * 100) + "%'> " + A8 + "</td> <td width='" + B8 * 100 + "%'></td> </tr> </table>"
|
|
|
|
最佳回答 |
0
|
豆豆小可爱Lv5中级互助发布于2020-5-15 11:39
|
进度条.cpt "<table align='center' width='100%' border=0 cellspacing=0 cellpadding=0 height='6'><tr> <td bgcolor='" + if(G4 >= 18, "#3CB371", if(G4 >= 10, "#FFA500", "#FF0000")) + "' width='" + G4/24 *100 + "%'> </td><td bgcolor='#0000FF' width='" + (100 - G4/24 * 100) + "%'></td></tr> </table>"
|
|
|