Hi Guys,
I am new to VBA and trying to get below done through vba code.
Column "A" has 1 to 100 numbers and in column "B", i want result if the number is divisor of 3 or if the number is divisor of 5 or both.
I have done through formula as below
=IF(AND(MOD(A2,3)=0,MOD(A2,5)=0),"3-5",IF(MOD(A2,3)=0,"3",IF(MOD(A2,5)=0,"5","")))
Thanks