• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Total number of multiples of 3 (not 6 and 9) in a given input number

Hi all,

Can someone please help me with a formula that calculates the total number of multiples of 3 (and not 6 & 9) in a given input number?

For example: If the input is 18, the result should be 2 means multiples of 3 within 18 are 3, 6, 9, 12, 15, 18 whereas 6, 9, 12, 18 are multiples of 6 or 9. So, the result is 2 (3 and 15).
 
Shrivallabha,

Brilliant! I was thinking of the formula for the last 4-5hrs and got frustrated. You made my day. The formula works perfectly fine, thanks a lot.

Regards,
Yaswanth
 
Back
Top