Condtional Format Problem !

  • Thread starter Thread starter Michael168
  • Start date Start date
M

Michael168

I have a cell in worksheet2 with reference to worksheet1.
I try to use conditional formatting but it give me error stating
"Cannot use references to other worksheet for conditional formatting
criteria".

How to solve this problem? Is there a way out?

Thank you.
 
Michael,

You have found a limit on CF. Luckily it can be easily circumvented. Define
the data on Worksheet1 as a workbook named range, and use that name in the
CF.

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)
 
I still have problem.
Range define as CFR=Sheet1!A10:F10 in sheet2
When I do conditional format in Sheet2, it seems the CFR can only take
Sheet1 column A range only and omits all the ranges for B:F.

Please kindly show me how to go about.

Thank you.
 
Michael,

It depends upon the formula you are using.

Post the formula, and the values being tested.

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)
 
your definition should be

=Sheet1!$A$10:$F$10

That is a possible source of your problem.

Assuming your trying to match your numbers against those in CFR


=Match(A1,CFR,0)

would be possibility for Cell A1 in Sheet2
 
Problem still unsolve.

In sheet2 G1 I have this formula
=(COUNTIF(Sheet1!$A10:$F10,1)>0)*COUNT(MATCH({31,32,33},Sheet1!$A11:$F11,0))

Range define as CFR=Sheet1!$A10:$F10 in sheet2
The CFR still only take Sheet1 column A range only and omits all the
ranges for B:F. I need to go through the worksheet that's why I keep
the row relative.

As suggested by Tom, CFR=Sheet1!$A$10:$F$10, CFR also the same.

Please try to help.

Thank you.
 
Back
Top