+ Reply to Thread
Results 1 to 4 of 4

Divisible by given Constant

  1. #1
    Registered User
    Join Date
    04-10-2006
    Posts
    7

    Divisible by given Constant

    I enter certain value in cell A1.
    The value should be divisible by 50 ( or any other fixed value).
    If so in cell B1 I need a n OK Message.
    If not it should return a message in cell B1.
    Please advise.

    Thank you
    Kart

  2. #2
    Forum Expert MickG's Avatar
    Join Date
    11-23-2007
    Location
    Banbury,Oxfordshire
    Posts
    2,650

    Re: Divisible by given Constant

    Hi, Perhaps:-
    Please Login or Register  to view this content.
    Regards Mick

  3. #3
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Divisible by given Constant

    You could perhaps use Validation on A1 itself so as to restrict entry in the first instance ?

    eg select A1 and apply the same test as a Custom validation rule of

    =MOD(A1,50)=0
    Last edited by DonkeyOte; 11-18-2009 at 07:19 AM.

  4. #4
    Valued Forum Contributor Rahul Nagar's Avatar
    Join Date
    09-18-2008
    Location
    nasik
    MS-Off Ver
    Excel 2003
    Posts
    465

    Re: Divisible by given Constant

    Hello,

    I think you can use IF formula.
    =IF(A1/50,"OK"," ")


    Rahul

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1