Conditional formatting

RAM

Well-known Member
Joined
Oct 4, 2004
Messages
1,862
Hi,

I have a column, E13:E31, where I input numbers. I could need a conditional formatting if the sum of E21:E23 doesn't return a even number. There are no formulas within the column. The sum of E21:E23 must be summed up within the condition or beside the sheet.

Thanks,

RAM
 

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
RAM

Which range do you want to format?

=MOD(SUM($E$21:$E$23),2)=0

shippey

Good idea, but you can't use functions from the Analysis ToolPak in conditional formatting.:)
 
Upvote 0
Like Norie asked, what range do you want to format?

But since you want to format if the result is odd:

=MOD(SUM($E$21:$E$23),2)=1
 
Upvote 0
Thanks guys,

Good question. I want to format E21:E23 if they don't add up to an even number.

RAM
 
Upvote 0
RAM

Well HOTPEPPER's formula should do that.
 
Upvote 0
thanks for your pointer norie,

i was wondering why i couldnt accept it,

the formula i entered would have displayed TRUE in the cell it was entered in, i thought mabye that would be ok, then conditional formating could be set to cell value = true

just a workaround but you guys always come up with the bes solutions,
 
Upvote 0

Forum statistics

Threads
1,225,071
Messages
6,182,685
Members
453,132
Latest member
nsnodgrass73

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top