如何 利用 excel2003 处理 对数据分类?条件格式

发布网友

我来回答

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中处理一样也用条件格式就能实现了。

声明声明:本网页内容为用户发布,旨在传播知识,不代表本网认同其观点,若有侵权等问题请及时与本网联系,我们将在第一时间删除处理。E-MAIL:11247931@qq.com