Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Thief_
 
Posts: n/a
Default Conditional Formatting formula not acceptable?

I'm trying to Conditional Format a number of cells using "Formula Is" &
"=ISODD(INT($f2))=True", ie. if the value in F2 is odd, format the data. I
keep getting the message "You may not use references to other worksheets or
workbooks for Conditional Formatting Criteria". Why am I getting this error?

I used this formula instead:

=MOD($F358,2)<0

But was interested to know why my original wasn't acceptable.

XL2003
WinXPSP2

--
|
+-- Thief_
|


  #2   Report Post  
Dave Peterson
 
Posts: n/a
Default

=isodd() is in the analysis toolpak (tools|addins).

It's not built into excel.



Thief_ wrote:

I'm trying to Conditional Format a number of cells using "Formula Is" &
"=ISODD(INT($f2))=True", ie. if the value in F2 is odd, format the data. I
keep getting the message "You may not use references to other worksheets or
workbooks for Conditional Formatting Criteria". Why am I getting this error?

I used this formula instead:

=MOD($F358,2)<0

But was interested to know why my original wasn't acceptable.

XL2003
WinXPSP2

--
|
+-- Thief_
|


--

Dave Peterson
  #3   Report Post  
Thief_
 
Posts: n/a
Default

Yeah?! I know that, and ISODD does work, but for some reason the whole
formula doesn't work in CF.

--
|
+-- Thief_
|

"Dave Peterson" wrote in message
...
=isodd() is in the analysis toolpak (tools|addins).

It's not built into excel.



Thief_ wrote:

I'm trying to Conditional Format a number of cells using "Formula Is" &
"=ISODD(INT($f2))=True", ie. if the value in F2 is odd, format the data.

I
keep getting the message "You may not use references to other worksheets

or
workbooks for Conditional Formatting Criteria". Why am I getting this

error?

I used this formula instead:

=MOD($F358,2)<0

But was interested to know why my original wasn't acceptable.

XL2003
WinXPSP2

--
|
+-- Thief_
|


--

Dave Peterson



  #4   Report Post  
Biff
 
Posts: n/a
Default

Hi!

Personally, I would use MOD but you can use functions from ATP if you use
them in association with a defined name.

InsertNameDefine
Name: Odd
Refers to: =ISODD(Sheet1!$A$1)

Then

Conditional Formatting
Formula is: =Odd

The only problem with this is that in the above situation using Named
formulas or ranges, you have to use absolute referencing so the above cf
formula will only work in a specific cell.....but there is a work around for
that....

You can use R1C1 referencing:

InsertNameDefine
Name: Odd
Refers to: =ISODD(INDIRECT("RC",FALSE))

Now, when this used for the conditional formatting the named formula
references the cell that the cf is being applied to.

Biff

"Dave Peterson" wrote in message
...
=isodd() is in the analysis toolpak (tools|addins).

It's not built into excel.



Thief_ wrote:

I'm trying to Conditional Format a number of cells using "Formula Is" &
"=ISODD(INT($f2))=True", ie. if the value in F2 is odd, format the data.
I
keep getting the message "You may not use references to other worksheets
or
workbooks for Conditional Formatting Criteria". Why am I getting this
error?

I used this formula instead:

=MOD($F358,2)<0

But was interested to know why my original wasn't acceptable.

XL2003
WinXPSP2

--
|
+-- Thief_
|


--

Dave Peterson



  #5   Report Post  
Dave Peterson
 
Posts: n/a
Default

The formula may work in another cell, but that message you get about references
to other worksheets means that =isodd() won't work in the Conditional Formatting
formula.



Thief_ wrote:

Yeah?! I know that, and ISODD does work, but for some reason the whole
formula doesn't work in CF.

--
|
+-- Thief_
|

"Dave Peterson" wrote in message
...
=isodd() is in the analysis toolpak (tools|addins).

It's not built into excel.



Thief_ wrote:

I'm trying to Conditional Format a number of cells using "Formula Is" &
"=ISODD(INT($f2))=True", ie. if the value in F2 is odd, format the data.

I
keep getting the message "You may not use references to other worksheets

or
workbooks for Conditional Formatting Criteria". Why am I getting this

error?

I used this formula instead:

=MOD($F358,2)<0

But was interested to know why my original wasn't acceptable.

XL2003
WinXPSP2

--
|
+-- Thief_
|


--

Dave Peterson


--

Dave Peterson
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
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 08:48 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 04:28 AM
Need conditional formatting formula to highlight top ten values i. lightninbug Excel Worksheet Functions 11 January 20th 05 06:33 PM
Conditional Formatting based on Formula Pete Petersen Excel Worksheet Functions 1 January 18th 05 12:49 AM
Conditional Formatting Graham Warren Excel Worksheet Functions 0 November 7th 04 05:58 PM


All times are GMT +1. The time now is 10:57 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"