Conditional Formating

antfield

New Member
Joined
Mar 28, 2006
Messages
33
I would like to have a range of cells checked to see if they are divisable by a number, such as money.like;

Mutiple Number to check
$0.05 $0.17
$0.10 $0.10
$0.20 $0.21

In this example, the
.17 example would highlight, as it can not be evenly divided by .05
.10 example would not highlight, as it is divisable by .10
.21 example would highlight as it can not be evenly divided by .20

Or is it possible to have it so the Cell will not accept an incorrect figure ?
I have only acceived this by using a list, although I do not want the List down Arrow to be displayed ?

Thanks
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
CF:

=mod(number,divisor)=0
I tried this formula, although It does not work for me ?
=mod($B$2,.05)=0
Call b2 contacins the cell I want CF on. .05 stands for 5cents, I keep getting an error.

Any Ideas ?

Thanks for your Very fast Reply !
 
Upvote 0
works for me:

format | conditional format - formula is:

=MOD($B$2,0.05)=0

...& set a format. Though you'll propbably want:

=MOD($B$2,0.05)<>0

...to highlight where things don't divide evenly
 
Upvote 0
Too Right, It does work, although I found that I have to replace the "," in the Formula with a "|" pipe as in my Reginal Settings I have it as a list seperator..in place of the comma..

Thanks PaddyD your Formula work fine..

I appreciate your assistance.!
 
Upvote 0

Forum statistics

Threads
1,214,650
Messages
6,120,736
Members
448,988
Latest member
BB_Unlv

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