简体   繁体   中英

Conditional Formatting using another cell

I have a spreadsheet and want to conditional format Column G based on if Column D contains the word "Sale".

I have tried the following: Cell Value = "Sale"

I have also tried the formula: =D2="Sale"

Any assistance would greatly be appreciated. I am using Excel 2013

Make sure your formula row reference aligns with your range the rule applies to:

If the rule applies to the entire column G, use

=$D1 = "Sale"

在此处输入图片说明

If the rule applies to a range starting with G2 for example, use

=$D2 = "Sale"

在此处输入图片说明

Well, put this together just to show something:

在此处输入图片说明

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM