Conditional formatting

R

reno

have a set of 200 stores, each w/unique store# and 7 add'l columns of info,
each store might have 1 to 10 entries. Entries are sorted by store # and date

Would like to cond format such that all even number store rows are one color
and all odd are another color or whie by default. Tried several approaches
w/o success. Prefer cond formatting rather than going row by row manually.
 
B

Bernie Deitrick

reno,

Select your rows, then use Format | Conditional Formatting... Select
"Formula Is.." and use the formula

=$A1/2=INT($A1/2)

Change A1 to reflect the column with your store#, and the row with your
first store. Then set the format.

HTH,
Bernie
MS Excel MVP
 
B

Bernie Deitrick

And in case anybody is wondering, Excel doesn't allow the use of the ISODD
function in conditional formatting, because it is part of the Analysis
toolpak. You should get an error if you try it.

HTH,
Bernie
MS Excel MVP
 
R

reno

Bernie Deitrick said:
reno,

Select your rows, then use Format | Conditional Formatting... Select
"Formula Is.." and use the formula

=$A1/2=INT($A1/2)

Change A1 to reflect the column with your store#, and the row with your
first store. Then set the format.

HTH,
Bernie
MS Excel MVP
 
R

reno

that worked great...thx

Bernie Deitrick said:
reno,

Select your rows, then use Format | Conditional Formatting... Select
"Formula Is.." and use the formula

=$A1/2=INT($A1/2)

Change A1 to reflect the column with your store#, and the row with your
first store. Then set the format.

HTH,
Bernie
MS Excel MVP
 
S

samantha

i cant figure it out, got a list of data here and needs to format the cells
of odd numbers.
 
G

Gord Dibben

Select the range of cells then enter this revision to Bernie's formula.

=$A1/2=INT($A1/2)=FALSE

Will CF odd numbers only.


Gord Dibben MS Excel MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top