IS this number divisible by that number

bobgrand

Board Regular
Joined
Apr 14, 2008
Messages
244
Office Version
  1. 365
Platform
  1. Windows
Hello all and Happy Holidays,

You can probably add this to the crazy question list.

Does anyone have a trick up their sleeve to identify if the order quantity of order points are divisible by the package size qty. We have a lot of broken values and I am just trying to find a broad brush way to find these errors.

Example 1: Order points are 20 / 60 and the Package size is 15 - When our inventory reaches 20 we would order 60. The pack qty is 15. (60 is divisible by 15) The answer I would like to appear for this scenario is YES.
Example 2: Order points are 20 / 50 and the Package size is 15 - When our inventory reaches 20 we would order 50. The pack qty is 15. (50 is not divisible by 15) The answer I would like to appear for this scenario is NO.

Please let me know if I am just completely out of my mind.

Thank you
Bob
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
Use the MOD() formula.
for 20/60, the formula would be =MOD(60,20)=0, this will result in TRUE
for 20/50 the formula would be =MOD(50,20)=0, this will result in FALSE.
 
Upvote 0
@bobgrand ,
my first suggestion was not correct. I read the question poorly.
Here is a corrected mini worksheet of what I was thinking you should do:


Cell Formulas
RangeFormula
D2:D10D2=IF(MOD(B2,C2)=0,"Yes","No")
E2:E10E2=FORMULATEXT(D2)
 
Last edited:
Upvote 0

Forum statistics

Threads
1,215,086
Messages
6,123,043
Members
449,092
Latest member
ikke

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