ISEVEN Conditional Format Error

sbeatton

Active Member
Joined
May 19, 2004
Messages
411
I am experiencing a problem with Conditional Formatting. I am trying to format a Column based upon a cell value being even. When I make the conditional format, FORMULA IS = ISEVEN($A3), i am getting the error "You may not use references to other worksheets or workbooks for Conditional Formatting criteria"

Has anyone used ISEVEN in conditional formatting at all?
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
Thanks all.
Would you believe I also already use =MOD(ROW(),2) but had one of those moments.
 
Upvote 0
This is a good point! Non-resident functions will not work in CF. So because ISEVEN is from the Analysis ToolPak, CF can not use it. Likewise, CF can not use a UDF.

lenze
 
Upvote 0
Likewise, CF can not use a UDF.
Yes it can, example to CF cells with comments:

Public Function Test(rng As Range) As Boolean
Test = IIf(rng.Comment Is Nothing, 0, 1)
End Function


CF Formula is
=test(A1)
 
Upvote 0
You can also use add-in functions if you use them in a defined name and then use that defined name in the CF formula.
 
Upvote 0
Yes it can, example to CF cells with comments:

Public Function Test(rng As Range) As Boolean
Test = IIf(rng.Comment Is Nothing, 0, 1)
End Function


CF Formula is
=test(A1)

Thanks Tom, I didn't know that. For some reason, I was under the impression they would not work!!

lenze
 
Upvote 0

Forum statistics

Threads
1,213,534
Messages
6,114,185
Members
448,554
Latest member
Gleisner2

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