Stubby
Board Regular
- Joined
- Mar 5, 2002
- Messages
- 188
Hi fellow excel users!
I have a data list that has a column (called record) of sequential numbers. I needed to filter the list so that I see all the records whose record number was divisible by 5. A colleague suggested the following formula in the criteria row of an advanced filter would work:
=MOD(A7,5)=0
This does work, however I don't know why!! I understand that the MOD function takes a value and divides by the divisor (in this instance 5) and leaves a remainder but I'm at a loss as to what the =0 bit does.
Many thanks in advance for any help!
I have a data list that has a column (called record) of sequential numbers. I needed to filter the list so that I see all the records whose record number was divisible by 5. A colleague suggested the following formula in the criteria row of an advanced filter would work:
=MOD(A7,5)=0
This does work, however I don't know why!! I understand that the MOD function takes a value and divides by the divisor (in this instance 5) and leaves a remainder but I'm at a loss as to what the =0 bit does.
Many thanks in advance for any help!