Conditional Formatting (IF not empty)

后端 未结 6 548
一向
一向 2021-01-04 06:06

How do I conditionally format a cell so if not blank it is grey?

I tried to do \'not equal\', but it didn\'t work.

I am using Windows Office 2003 with Wind

6条回答
  •  北荒
    北荒 (楼主)
    2021-01-04 06:49

    In Excel 2003 you should be able to create a formatting rule like:

    =A1<>"" and then drag/copy this to other cells as needed.

    If that doesn't work, try =Len(A1)>0.

    If there may be spaces in the cell which you will consider blank, then do:

    =Len(Trim(A1))>0

    Let me know if you can't get any of these to work. I have an old machine running XP and Office 2003, I can fire it up to troubleshoot if needed.

提交回复
热议问题