发布网友
共4个回答
热心网友
需要用VBA。
假如这些数据在A列,在相应工作表输入以下代码:
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Column = 1 Then
Target.Font.Underline = xlNone
If Target.Value >= 1.55 And Target.Value <= 1.65 Then Target.Font.Color = vbBlack
If Target.Value >= 1.5 And Target.Value <= 1.54 Then Target.Font.Color = vbRed
If Target.Value >= 1.66 And Target.Value <= 1.7 Then Target.Font.Color = vbRed
If Target.Value <= 1.49 Then Target.Font.Color = vbBlue
If Target.Value <= 1.52 Then Target.Font.Underline = xlUnderlineStyleSingle
If Target.Value >= 1.74 Then Target.Font.Underline = xlUnderlineStyleSingle
End If
End Sub
热心网友
菜单栏-》格式-》条件格式,把你的数据输入进去,然后设置对应的格式即可
热心网友
使用菜单中的格式,然后选条件格式,根据提示选定范围,设置格式,excel2003 也是这样子
热心网友
excel2003中处理一样也用条件格式就能实现了。