Skip to content

Conditional Formatting of Row or Cell Based on Text in Column #1655

Answered by noahphex
noahphex asked this question in Q&A
Discussion options

You must be logged in to vote

One always figures it out, after they ask for help. I got it working.

Add-ConditionalFormatting -Worksheet $ws -Range "A1:N$lastrow" -RuleType Expression -ConditionValue '=$N1="TRUE"' -BackgroundColor LightBlue

Add-ConditionalFormatting -Worksheet $ws -Range "F:F" -RuleType Expression -ConditionValue '=$G1="TRUE"' -BackgroundColor Yellow

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by noahphex
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants