Conditional formatting a column for even numbers

  • Thread starter Thread starter greg7468
  • Start date Start date
G

greg7468

Hello all, could you please tell me how I would use conditiona
formating for a column of data so that all the even numbers ar
highlighted.
Thanks for your help
 
Greg

select the column and use:

Formula 1: =AND(ISNUMBER(A1),MOD(A1,2)=0)

assuming it is column A you want to format.

Regards

Trevor
 
=MOD(A1,2)=0

should be enough

--

HTH

RP

Trevor Shuttleworth said:
Greg

select the column and use:

Formula 1: =AND(ISNUMBER(A1),MOD(A1,2)=0)

assuming it is column A you want to format.

Regards

Trevor
 
Bob

Depends if you pre-select the column like I did. Then blank cells also get
formatted. Hence the additional ISNUMBER check.

Regards

Trevor
 
Hi Trevor,

I see why you did it now :-)

Bob

Trevor Shuttleworth said:
Bob

Depends if you pre-select the column like I did. Then blank cells also get
formatted. Hence the additional ISNUMBER check.

Regards

Trevor
 

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

Back
Top