Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 343
Default Conditional frmatting issue

This should be simple so I must be over thinking the problem.

I want to set a conditional format to set a cell fill if the number in Cell
A1 is an even number.

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 35,218
Default Conditional frmatting issue

Formula is:
=MOD(A1,2)=0

(if A1 is the activecell)



"Patrick C. Simonds" wrote:

This should be simple so I must be over thinking the problem.

I want to set a conditional format to set a cell fill if the number in Cell
A1 is an even number.


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,766
Default Conditional frmatting issue

Hi,

You can also use the ISEVEN(cell_ref) formula in condition formatting

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com

"Patrick C. Simonds" wrote in message
...
This should be simple so I must be over thinking the problem.

I want to set a conditional format to set a cell fill if the number in
Cell A1 is an even number.


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,346
Default Conditional frmatting issue

Hi,

=MOD($A$1,2)=0

Note - if you want to set more than one cells colors based on A1 you will
need to include the $'s.

the answer one might want is (and will work in 2007)

=ISEVEN(A1)

However, ISEVEN is part of the Analysis ToolPak and in 2003 that is a
separate file which Excel won't let you reference directly. The workaround
in 2003 other than using MOD, which is good, is to define a name E which
Refers to =ISEVEN($A$1) and then choose Format, Conditional Formatting, pick
Formula is from the 1st drop down and enter =E click the Format button and
pick a color.

--
If this helps, please click the Yes button

Cheers,
Shane Devenshire


"Patrick C. Simonds" wrote:

This should be simple so I must be over thinking the problem.

I want to set a conditional format to set a cell fill if the number in Cell
A1 is an even number.


  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 47
Default Conditional frmatting issue

1.Select cell A1
2.Select formatconditional formatting from the menubar
3.In the dialog box, select formula is from the drop down list to the left
3.Now in the box to the right and enter following
=MOD($A$1,2)=0
4.Click format button, choose color and click OK

Now you are done

Have a nice time

Chris
------
Convert your Excel spreadsheet into an online calculator.
http://www.spreadsheetconverter.com

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...tions/200902/1

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
Conditional Formatting Issue Robert Excel Discussion (Misc queries) 8 September 1st 08 11:05 PM
Conditional format issue Patrick C. Simonds Excel Worksheet Functions 8 January 17th 08 05:37 PM
Conditional Format issue Patrick C. Simonds Excel Discussion (Misc queries) 5 August 1st 07 09:26 PM
conditional formatting issue QUESTION-MARK Excel Worksheet Functions 3 April 20th 06 01:04 AM
Conditional Format Issue Darkdrew Excel Worksheet Functions 3 April 13th 06 04:40 PM


All times are GMT +1. The time now is 10:59 PM.

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

About Us

"It's about Microsoft Excel"