Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 14
Default conditional formating with isodd and iseven

I have consective numbers in column A. In column B is formula =isodd
which returns True or False, and this works for me but I have tried to
use =isodd and =iseven as a conditional format formula with no luck.
My question is, is it possible to use either of these arguments in a
conditional format formula. I have tried severial syntax with no luck.
I most often get error message "May not use referance to other sheet
or book...." I know you guys can crack this.

Regards

BigD


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default conditional formating with isodd and iseven

I most often get error message "May not use referance to other sheet or
book...."


That's because those functions are part of the Analysis ToolPak add-in which
is another file (workbook).

For even numbers:

=MOD(A1,2)=0

For odd numbers:

=MOD(A2,2)0

--
Biff
Microsoft Excel MVP


"BIG D" wrote in message
...
I have consective numbers in column A. In column B is formula =isodd
which returns True or False, and this works for me but I have tried to
use =isodd and =iseven as a conditional format formula with no luck.
My question is, is it possible to use either of these arguments in a
conditional format formula. I have tried severial syntax with no luck.
I most often get error message "May not use referance to other sheet
or book...." I know you guys can crack this.

Regards

BigD




  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 367
Default conditional formating with isodd and iseven

I don't know the formula isodd, but you can use this formula:
=MOD(A1,2)=1
which gives you false for any even and a true for any odd number.

hth

Carlo

On Nov 20, 2:12 pm, BIG D wrote:
I have consective numbers in column A. In column B is formula =isodd
which returns True or False, and this works for me but I have tried to
use =isodd and =iseven as a conditional format formula with no luck.
My question is, is it possible to use either of these arguments in a
conditional format formula. I have tried severial syntax with no luck.
I most often get error message "May not use referance to other sheet
or book...." I know you guys can crack this.

Regards

BigD


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default conditional formating with isodd and iseven

Do you need the =1, Carlo? Can't you just use =MOD(A1,2) ?
--
David Biddulph

"carlo" wrote in message
...
I don't know the formula isodd, but you can use this formula:
=MOD(A1,2)=1
which gives you false for any even and a true for any odd number.

hth

Carlo

On Nov 20, 2:12 pm, BIG D wrote:
I have consective numbers in column A. In column B is formula =isodd
which returns True or False, and this works for me but I have tried to
use =isodd and =iseven as a conditional format formula with no luck.
My question is, is it possible to use either of these arguments in a
conditional format formula. I have tried severial syntax with no luck.
I most often get error message "May not use referance to other sheet
or book...." I know you guys can crack this.

Regards

BigD




  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default conditional formating with isodd and iseven

Can't you just use =MOD(A1,2) ?

Yes, you could. I included the 0 in my reply just to show some uniformity
with the even numbers formula.

=MOD(A1,2)=0
=MOD(A1,2)0


--
Biff
Microsoft Excel MVP


"David Biddulph" <groups [at] biddulph.org.uk wrote in message
...
Do you need the =1, Carlo? Can't you just use =MOD(A1,2) ?
--
David Biddulph

"carlo" wrote in message
...
I don't know the formula isodd, but you can use this formula:
=MOD(A1,2)=1
which gives you false for any even and a true for any odd number.

hth

Carlo

On Nov 20, 2:12 pm, BIG D wrote:
I have consective numbers in column A. In column B is formula =isodd
which returns True or False, and this works for me but I have tried to
use =isodd and =iseven as a conditional format formula with no luck.
My question is, is it possible to use either of these arguments in a
conditional format formula. I have tried severial syntax with no luck.
I most often get error message "May not use referance to other sheet
or book...." I know you guys can crack this.

Regards

BigD








  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 14
Default conditional formating with isodd and iseven

On Nov 20, 12:56 pm, "T. Valko" wrote:
Can't you just use =MOD(A1,2) ?


Yes, you could. I included the 0 in my reply just to show some uniformity
with the even numbers formula.

=MOD(A1,2)=0
=MOD(A1,2)0

--
Biff
Microsoft Excel MVP

"David Biddulph" <groups [at] biddulph.org.uk wrote in ...



Do you need the =1, Carlo? Can't you just use =MOD(A1,2) ?
--
David Biddulph


"carlo" wrote in message
...
I don't know the formula isodd, but you can use this formula:
=MOD(A1,2)=1
which gives you false for any even and a true for any odd number.


hth


Carlo


On Nov 20, 2:12 pm, BIG D wrote:
I have consective numbers in column A. In column B is formula =isodd
which returns True or False, and this works for me but I have tried to
use =isodd and =iseven as a conditional format formula with no luck.
My question is, is it possible to use either of these arguments in a
conditional format formula. I have tried severial syntax with no luck.
I most often get error message "May not use referance to other sheet
or book...." I know you guys can crack this.


Regards


BigD- Hide quoted text -


- Show quoted text -


Thanks everyone! The formulas work and solve the problem nicely.
In response to Valko I do have the analysis tool pack installed on all
of my machines which makes me wonder if the isodd command is for some
reason not available in conditional formating. I do not know enough
about excel to test the command in cf but I am researching it.

Regards

BigD
  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,268
Default conditional formating with isodd and iseven

Since ATP is an add-in it exists physically on another sheet and you cannot
refer to other sheets when doing CF unless you use a defined name. You can
bypass ATP by putting ISODD in another cell hidden from view, or even better
in another sheet, for instance if the cell you want to CF is in Sheet1

=ISODD(Sheet1!A1)

if you put that in another sheet and call that cell for ODD
(insertnamedefine)

then you can select A1 in Sheet1 and use

=ODD=TRUE

and the CF will work

now you can hide this particular sheet with the isodd formula and nobody
will have a clue


--


Regards,


Peo Sjoblom


"BIG D" wrote in message
...
On Nov 20, 12:56 pm, "T. Valko" wrote:
Can't you just use =MOD(A1,2) ?


Yes, you could. I included the 0 in my reply just to show some
uniformity
with the even numbers formula.

=MOD(A1,2)=0
=MOD(A1,2)0

--
Biff
Microsoft Excel MVP

"David Biddulph" <groups [at] biddulph.org.uk wrote in
...



Do you need the =1, Carlo? Can't you just use =MOD(A1,2) ?
--
David Biddulph


"carlo" wrote in message
...
I don't know the formula isodd, but you can use this formula:
=MOD(A1,2)=1
which gives you false for any even and a true for any odd number.


hth


Carlo


On Nov 20, 2:12 pm, BIG D wrote:
I have consective numbers in column A. In column B is formula =isodd
which returns True or False, and this works for me but I have tried
to
use =isodd and =iseven as a conditional format formula with no luck.
My question is, is it possible to use either of these arguments in a
conditional format formula. I have tried severial syntax with no
luck.
I most often get error message "May not use referance to other sheet
or book...." I know you guys can crack this.


Regards


BigD- Hide quoted text -


- Show quoted text -


Thanks everyone! The formulas work and solve the problem nicely.
In response to Valko I do have the analysis tool pack installed on all
of my machines which makes me wonder if the isodd command is for some
reason not available in conditional formating. I do not know enough
about excel to test the command in cf but I am researching it.

Regards

BigD



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
ISODD and EVEN formula BSantos Excel Worksheet Functions 6 January 18th 06 04:28 PM
cannot use ISEVEN or ISODD functions in Conditional Formatting Scott Paine Excel Worksheet Functions 6 December 6th 05 09:44 PM
Install dates formating using conditional formating? Jerry Eggleston Excel Discussion (Misc queries) 2 November 9th 05 05:49 PM
ISEVEN SimonW Excel Worksheet Functions 4 March 26th 05 05:01 PM
IF and ISODD Formula Help vgolfman Excel Worksheet Functions 2 October 28th 04 03:07 PM


All times are GMT +1. The time now is 04:23 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"