+ Reply to Thread
Results 1 to 6 of 6

divisible if statements

  1. #1
    Registered User
    Join Date
    11-28-2007
    Posts
    3

    divisible if statements

    Is there a way to form an IF statement that checks whether two cells are divisible in a general term.

    Example: if(X is divisible by Z, then True,False) or if 1000 is divisible by 100 then, T,F.

  2. #2
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643
    Something like this perhaps?

    =LEFT(INT(A1/B1) = A1/B1)

  3. #3
    Forum Contributor WinteE's Avatar
    Join Date
    04-07-2007
    Location
    Netherlands
    Posts
    544
    Try this :

    =IF((A1/B1)=ROUND(A1/B1,0),TRUE,FALSE)

    Erik
    Just keep it simple !


    http://www.excelguide.eu
    In English as well as in Dutch

  4. #4
    Registered User
    Join Date
    11-28-2007
    Posts
    3
    THX,

    That helps.

  5. #5
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582
    Or
    Please Login or Register  to view this content.
    ChemistB

  6. #6
    Registered User
    Join Date
    11-28-2007
    Posts
    3
    thanks. I acheived the goal and got a good result.
    Attached Files Attached Files

+ 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