Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In my shapefile, I have a bunch of features and one field is a integer numerical attribute. I'd like to select all of the features whose value is a multiple of another value. For instance, I have a field with typical values of 100, 101, 102, 103, 104, 105, 106, etc. (up to 1000) and I would like to select all features with a value that is a multiple of 5.

I am using ArcGIS Desktop 10.

share|improve this question

If your tool supports it, use the modulo operator.

e.g. value % 5 = 0

... all features with a value that divides by five without a remainder.

share|improve this answer
Beat me to it! I'll add that in ArcGIS you should use MOD ( "FIELD" , 5) = 0 in the select by attributes window. – Jay Guarneri Mar 6 '13 at 20:44
I am using ArcMap 10, so thank you Jay! – csevers Mar 6 '13 at 20:50

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.