ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Format Row If Cell Contains Even Number (https://www.excelbanter.com/excel-discussion-misc-queries/66248-format-row-if-cell-contains-even-number.html)

Ken Zenachon

Format Row If Cell Contains Even Number
 
I'm creating a guest list.
On this list, persons living at the same address are given a common ID
number, unique to that address. I enter this number in column A. For
readability I want records for even-numbered households to have a
format of my choosing.

I tried using condidtional format by selecting all the rows and
entering the formula like this:
Formula is =ISEVEN($A1)

This results in an error: "You may not use references to other
worksheets or workbooks for Conditional Formatting criterea".

What am I doing wrong?


]-[


Kleev

Format Row If Cell Contains Even Number
 
iseven does not appear to be a function on my version of Excel. Is it a UDF?
Regardless, the following appears to work:

=MOD($A1,2)=0

"Ken Zenachon" wrote:

I'm creating a guest list.
On this list, persons living at the same address are given a common ID
number, unique to that address. I enter this number in column A. For
readability I want records for even-numbered households to have a
format of my choosing.

I tried using condidtional format by selecting all the rows and
entering the formula like this:
Formula is =ISEVEN($A1)

This results in an error: "You may not use references to other
worksheets or workbooks for Conditional Formatting criterea".

What am I doing wrong?


]-[



Kleev

Format Row If Cell Contains Even Number
 
I see from another thread that iseven is in the analysis toolpak which I am
not using which is why it did not work when I tried it.

"Kleev" wrote:

iseven does not appear to be a function on my version of Excel. Is it a UDF?
Regardless, the following appears to work:

=MOD($A1,2)=0

"Ken Zenachon" wrote:

I'm creating a guest list.
On this list, persons living at the same address are given a common ID
number, unique to that address. I enter this number in column A. For
readability I want records for even-numbered households to have a
format of my choosing.

I tried using condidtional format by selecting all the rows and
entering the formula like this:
Formula is =ISEVEN($A1)

This results in an error: "You may not use references to other
worksheets or workbooks for Conditional Formatting criterea".

What am I doing wrong?


]-[




All times are GMT +1. The time now is 05:08 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com