Conditional Formatting Rule in Google Sheets

Shazir

Banned - Rules violations
Joined
Jul 28, 2020
Messages
94
Office Version
  1. 365
Platform
  1. Windows
I am using below formula that is working fine on same sheet to highlight the row where found "Terminated".

=$E3="Terminate"

But when i apply below formula based on the values of another sheet where found "Terminated" then it does not work.

=Leave Data!$E3="Terminate"

I want to highlight the same row for both sheets. Where Leave Data!$E3="Terminate".

Can someone please share a solution to this question.
 
Last edited:
I was obviously answering from an Excel standpoint, before it was determined this is a Google Sheets question.
As I have never used Google Sheets, unfortunately I have nothing to add.
Sir, Thank you for you reply.
 
Upvote 0

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
I am using below formula that is working fine on same sheet to highlight the row where found "Terminated".

=$E3="Terminate"

But when i apply below formula based on the values of another sheet where found "Terminated" then it does not work.

=Leave Data!$E3="Terminate"

I want to highlight the same row for both sheets. Where Leave Data!$E3="Terminate".

Can someone please share a solution to this question.
Well, you can always "cheat."

Suppose you want to conditional format Sheet2!A1 based on the value of Sheet1!A1 (irrespective of gSheets or Excel):

In Sheet2, in some available cell, say B1, enter the formula =Sheet1!A1

Now, format Sheet2!A1 based on the value of Sheet2!B1.

This is a very powerful technique I've used to 1) make complex c.f. formulas transparent and b) implement c.f. conditions that are simply not doable directly within a c.f.
 
Upvote 0

Forum statistics

Threads
1,226,693
Messages
6,192,471
Members
453,726
Latest member
JoeH57

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top